diff options
author | Unknown <blackjack4494@web.de> | 2020-09-16 13:00:41 +0200 |
---|---|---|
committer | Unknown <blackjack4494@web.de> | 2020-09-16 13:00:41 +0200 |
commit | 78895bd3a101642fbdadffab27abae0d655b16c9 (patch) | |
tree | 8330ff05c0d07632f505cf43960d531043875cda /youtube_dlc/extractor/common.py | |
parent | 08676fb591654adaad57d7279449c3292654079c (diff) | |
download | hypervideo-pre-78895bd3a101642fbdadffab27abae0d655b16c9.tar.lz hypervideo-pre-78895bd3a101642fbdadffab27abae0d655b16c9.tar.xz hypervideo-pre-78895bd3a101642fbdadffab27abae0d655b16c9.zip |
[Core] hls manifests, dynamic mpd
Diffstat (limited to 'youtube_dlc/extractor/common.py')
-rw-r--r-- | youtube_dlc/extractor/common.py | 5 |
1 files changed, 3 insertions, 2 deletions
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) |