浏览代码

Add references for #14844

Sergey M․ 7 年之前
父节点
当前提交
78593e294c
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      test/test_InfoExtractor.py
  2. 1 0
      youtube_dl/extractor/common.py

+ 1 - 0
test/test_InfoExtractor.py

@@ -563,6 +563,7 @@ jwplayer("mediaplayer").setup({"abouttext":"Visit Indie DB","aboutlink":"http:\/
                     'height': 1080,
                     'height': 1080,
                 }]
                 }]
             ), (
             ), (
+                # https://github.com/rg3/youtube-dl/pull/14844
                 'urls_only',
                 'urls_only',
                 'http://unknown/manifest.mpd',
                 'http://unknown/manifest.mpd',
                 [{
                 [{

+ 1 - 0
youtube_dl/extractor/common.py

@@ -1978,6 +1978,7 @@ class InfoExtractor(object):
                         elif 'segment_urls' in representation_ms_info:
                         elif 'segment_urls' in representation_ms_info:
                             # Segment URLs with no SegmentTimeline
                             # Segment URLs with no SegmentTimeline
                             # Example: https://www.seznam.cz/zpravy/clanek/cesko-zasahne-vitr-o-sile-vichrice-muze-byt-i-zivotu-nebezpecny-39091
                             # 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 = []
                             fragments = []
                             segment_duration = float_or_none(
                             segment_duration = float_or_none(
                                 representation_ms_info['segment_duration'],
                                 representation_ms_info['segment_duration'],