From 78895bd3a101642fbdadffab27abae0d655b16c9 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 16 Sep 2020 13:00:41 +0200 Subject: [Core] hls manifests, dynamic mpd --- youtube_dlc/extractor/common.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'youtube_dlc/extractor/common.py') diff --git a/youtube_dlc/extractor/common.py b/youtube_dlc/extractor/common.py index c1ea5d846..310229d57 100644 --- a/youtube_dlc/extractor/common.py +++ b/youtube_dlc/extractor/common.py @@ -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) -- cgit v1.2.3