1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-04 00:55:15 +00:00

[Core] hls manifests, dynamic mpd

This commit is contained in:
Unknown
2020-09-16 13:00:41 +02:00
parent 08676fb591
commit 78895bd3a1
5 changed files with 44 additions and 4 deletions

View File

@ -2071,8 +2071,9 @@ class InfoExtractor(object):
http://standards.iso.org/ittf/PubliclyAvailableStandards/c065274_ISO_IEC_23009-1_2014.zip
2. https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP
"""
if mpd_doc.get('type') == 'dynamic':
return []
if not self._downloader.params.get('dynamic_mpd'):
if mpd_doc.get('type') == 'dynamic':
return []
namespace = self._search_regex(r'(?i)^{([^}]+)?}MPD$', mpd_doc.tag, 'namespace', default=None)