1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-28 02:13:00 +08:00
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 [FFmpegPostProcessor] Default of prefer ffmpeg 2015-12-09 20:56:00 -03:00
__init__.py Using internal opener 2015-11-10 17:15:23 +02:00
__main__.py Use insert for all sys.path manipulations 2015-09-26 22:04:41 +02:00
aes.py [aes] Fix for python 3.2 2015-05-22 00:06:10 +06:00
cache.py [cache] Fix writing to paths with unicode characters 2014-11-19 00:02:24 +01:00
compat.py Rename compat_urllib_request_Request to sanitized_Request and move to utils 2015-11-23 21:55:15 +06:00
jsinterp.py [jsinterp] Extend function regex (Closes #7900, closes #7901) 2015-12-18 18:57:49 +06:00
options.py [options] Changed wording for --list-formats 2015-11-28 14:14:20 +08:00
swfinterp.py Fix imports and general cleanup 2014-12-13 12:35:45 +01:00
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
YoutubeDL.py Rename error_to_str to error_to_compat_str 2015-12-20 07:00:39 +06:00