aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-25 22:17:06 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-25 22:17:06 +0600
commitd8f0a9ecea6aab5b148d06904934c6a504ba3b03 (patch)
tree23312b3938e1dc505588a21b0d5cddf8dd3cda8d /youtube_dl
parentcf7e015f250d806916bed1ed2a1dfd8d943c05c2 (diff)
[youtube] Respect noplaylist for multifeed videos
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/youtube.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index afe0a781b..bcd27408d 100644
--- 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(','):