1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[youtube] Respect noplaylist for multifeed videos

This commit is contained in:
Sergey M․ 2015-07-25 22:17:06 +06:00
parent cf7e015f25
commit d8f0a9ecea

View file

@ -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(','):