projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf7e015
)
[youtube] Respect noplaylist for multifeed videos
author
Sergey M․
<dstftw@gmail.com>
Sat, 25 Jul 2015 16:17:06 +0000
(22:17 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 25 Jul 2015 16:17:06 +0000
(22:17 +0600)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index afe0a781b3439ab2f568969baf9a2ec95d2593e0..bcd27408dae6f41d869224ef1a3a3e3b62a0be7b 100644
(file)
--- a/
youtube_dl/extractor/youtube.py
+++ b/
youtube_dl/extractor/youtube.py
@@
-1089,7
+1089,9
@@
class YoutubeIE(YoutubeBaseInfoExtractor):
else:
video_description = ''
- if not smuggled_data.get('force_singlefeed', False) and 'multifeed_metadata_list' in video_info:
+ if (not self._downloader.params.get('noplaylist') and
+ not smuggled_data.get('force_singlefeed', False) and
+ 'multifeed_metadata_list' in video_info):
entries = []
multifeed_metadata_list = compat_urllib_parse_unquote_plus(video_info['multifeed_metadata_list'][0])
for feed in multifeed_metadata_list.split(','):