11 Commits

Author SHA1 Message Date
Abhishek Kedia
a1a646be83 remove outer parentheses in if 2015-12-21 16:11:10 +01:00
Abhishek Kedia
e11069985f Add test to verify fix of issue #7918 2015-12-21 01:50:07 +01:00
Abhishek Kedia
07e6c7bef6 Fix issue [#7918](https://github.com/rg3/youtube-dl/issues/7918)
trying to download single images from imgur produced error. E.g. https://imgur.com/gallery/YcAQlkx
Issue was caused 'http://imgur.com/gallery/<id>/album_images/hit.json?all=true' returns a json with data field containing id of all images contained in the album. But for a single image, data filed is empty. Added `if` condition to check if its empty.
2015-12-21 01:41:34 +01:00
Sergey M․
8875b3d572 [imgut:album] Add extractor (Closes #6711) 2015-08-30 19:03:21 +06:00
Sergey M․
96b9690985 [imgur] Improve extraction 2015-05-31 04:05:26 +06:00
Philipp Hagemeister
5e9a033e6e [imgur] Allow alternative values
Every now and then, imgur.com goes crazy and gives us a generic title and description (otherwise it looks all fine though).
Simply update the test case to allow for that craziness.
2015-02-20 02:52:03 +01:00
Philipp Hagemeister
b88ba05356 [imgur] Simplify 2015-02-19 05:53:09 +01:00
John Boehr
9e2d7dca87 [imgur] improve error check for non-video URLs 2015-02-18 19:47:54 -08:00
John Boehr
d236b37ac9 [imgur] improve regex #4998 2015-02-18 19:28:19 -08:00
John Boehr
1a13940c8d [imgur] support regular URL 2015-02-18 18:12:48 -08:00
Philipp Hagemeister
3bf5705316 [imgur] Add new extractor 2015-02-19 01:43:20 +01:00