youtube-dl/youtube_dl
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.
2015-12-22 21:43:49 +06:00
..
downloader Rename error_to_str to error_to_compat_str 2015-12-20 07:00:39 +06:00
extractor Improve extraction (Closes #7918) 2015-12-22 21:43:49 +06:00
postprocessor
YoutubeDL.py Rename error_to_str to error_to_compat_str 2015-12-20 07:00:39 +06:00
__init__.py
__main__.py
aes.py
cache.py
compat.py
jsinterp.py
options.py
swfinterp.py
update.py Use proper encoding on compat_str construction when necessary 2015-12-20 06:29:36 +06:00
utils.py Rename error_to_str to error_to_compat_str 2015-12-20 07:00:39 +06:00
version.py release 2015.12.21 2015-12-21 11:42:25 +01:00