From 78593e294cc4623108d17b1b0b2d26d507953006 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Sat, 2 Dec 2017 21:22:43 +0700 Subject: [PATCH] Add references for #14844 --- test/test_InfoExtractor.py | 1 + youtube_dl/extractor/common.py | 1 + 2 files changed, 2 insertions(+) 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'], -- 2.30.2