aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-12-02 21:22:43 +0700
committerSergey M․ <dstftw@gmail.com>2017-12-02 21:22:43 +0700
commit78593e294cc4623108d17b1b0b2d26d507953006 (patch)
treec216af354faa6404eba26014629e0aa4bb8482d9
parent593f2f798922d54be8d3f20f4a2048493095016d (diff)
downloadyoutube-dl-78593e294cc4623108d17b1b0b2d26d507953006.tar.xz
Add references for #14844
-rw-r--r--test/test_InfoExtractor.py1
-rw-r--r--youtube_dl/extractor/common.py1
2 files changed, 2 insertions, 0 deletions
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'],