Commit Graph

10 Commits (b5aad37f6bdc72acaca198202dc9f7eaa3185e51)

Author SHA1 Message Date
Sergey M․ 774ce35571 [imgur] Improve (Closes #7928) 9 years ago
Abhishek Kedia dbee18b552 Improve extraction (Closes #7918)
remove outer parentheses in if

Conflicts:
	youtube_dl/extractor/imgur.py

checked code with flake8

not returning list in case of single images.

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.

update description in ImgurIE Tests.
Also move single video test 'https://imgur.com/gallery/YcAQlkx' from ImgurAlbumIE to ImgurIE.
9 years ago
Sergey M․ 8875b3d572 [imgut:album] Add extractor (Closes #6711) 9 years ago
Sergey M․ 96b9690985 [imgur] Improve extraction 10 years ago
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.
10 years ago
Philipp Hagemeister b88ba05356 [imgur] Simplify 10 years ago
John Boehr 9e2d7dca87 [imgur] improve error check for non-video URLs 10 years ago
John Boehr d236b37ac9 [imgur] improve regex #4998 10 years ago
John Boehr 1a13940c8d [imgur] support regular URL 10 years ago
Philipp Hagemeister 3bf5705316 [imgur] Add new extractor 10 years ago