Skip to content

Commit 7978156

Browse files
committed
Turns out, gallery links work :D
1 parent 51631cc commit 7978156

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/album_provider/imgur_album.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ fn extract_album_id(album: &Url) -> Result<&str, Error> {
4242

4343
let path_segments: Vec<_> = path_segments.collect();
4444

45-
if path_segments.contains(&"gallery") {
46-
return Err(ImgurIdExtraction(
47-
"Gallery links are not supported. Please use album links".into(),
48-
));
49-
}
50-
5145
let Some(id) = path_segments.last() else {
5246
return Err(ImgurIdExtraction("No id found. Are you missing the part behind the '/' ?".into()));
5347
};

0 commit comments

Comments
 (0)