From: Sergey M․ Date: Sat, 2 Dec 2017 14:22:43 +0000 (+0700) Subject: Add references for #14844 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=78593e294cc4623108d17b1b0b2d26d507953006;p=youtube-dl Add references for #14844 --- diff --git a/test/test_InfoExtractor.py b/test/test_InfoExtractor.py index e58452ab5..8a372d2c9 100644 --- a/test/test_InfoExtractor.py +++ b/test/test_InfoExtractor.py @@ -563,6 +563,7 @@ jwplayer("mediaplayer").setup({"abouttext":"Visit Indie DB","aboutlink":"http:\/ 'height': 1080, }] ), ( + # https://github.com/rg3/youtube-dl/pull/14844 'urls_only', 'http://unknown/manifest.mpd', [{ diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 3baf683d8..80a9c982f 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1978,6 +1978,7 @@ class InfoExtractor(object): elif 'segment_urls' in representation_ms_info: # Segment URLs with no SegmentTimeline # Example: https://www.seznam.cz/zpravy/clanek/cesko-zasahne-vitr-o-sile-vichrice-muze-byt-i-zivotu-nebezpecny-39091 + # https://github.com/rg3/youtube-dl/pull/14844 fragments = [] segment_duration = float_or_none( representation_ms_info['segment_duration'],