Abhishek Kedia
f4aa6de646
update description in ImgurIE Tests.
...
Also move single video test 'https://imgur.com/gallery/YcAQlkx ' from ImgurAlbumIE to ImgurIE.
2015-12-21 19:20:52 +01:00
Abhishek Kedia
76716e4e59
using the fact that id with length 5 are albums and more are single videos.
...
Also for single videos ie ImgurIE both urls - http://imgur.com/gallery/oWeAMW2 and http://imgur.com/oWeAMW2 are equally fine. Change regex to allow thuis.
For albums urls - http://imgur.com/gallery/Q95ko and http://imgur.com/Q95ko are ok. Change regex to allow this also.
2015-12-21 19:02:34 +01:00
Abhishek Kedia
133643c36c
not returning list in case of single images.
2015-12-21 17:17:57 +01:00
Abhishek Kedia
6a5bcb2cab
checked code with flake8
2015-12-21 16:40:31 +01:00
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