mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-26 21:25:52 +01:00
[youtube] Respect noplaylist for multifeed videos
This commit is contained in:
parent
cf7e015f25
commit
d8f0a9ecea
@ -1089,7 +1089,9 @@ def add_dash_mpd(video_info):
|
|||||||
else:
|
else:
|
||||||
video_description = ''
|
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 = []
|
entries = []
|
||||||
multifeed_metadata_list = compat_urllib_parse_unquote_plus(video_info['multifeed_metadata_list'][0])
|
multifeed_metadata_list = compat_urllib_parse_unquote_plus(video_info['multifeed_metadata_list'][0])
|
||||||
for feed in multifeed_metadata_list.split(','):
|
for feed in multifeed_metadata_list.split(','):
|
||||||
|
Loading…
Reference in New Issue
Block a user