diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-04-23 11:49:57 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-04-23 11:49:57 +0700 |
commit | ddd258f92270f48649b57ba4288027a2433af079 (patch) | |
tree | efd8d3f0509b4889465a72db6c47e0dd7cdc6880 /youtube_dl/extractor | |
parent | 07ad0cf34fdeba447213c993210db1f012a812b8 (diff) |
[test_InfoExtractor] Add m3u8 parsing test for NAME attribute in EXT-X-STREAM-INF tag
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/common.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 2a099480f..6d023106e 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1397,7 +1397,9 @@ class InfoExtractor(object): def build_stream_name(): # Despite specification does not mention NAME attribute for - # EXT-X-STREAM-INF it still sometimes may be present + # EXT-X-STREAM-INF tag (see [1] or vidio test in + # test_parse_m3u8_formats) it still sometimes may be present + # 1. http://www.vidio.com/watch/165683-dj_ambred-booyah-live-2015 stream_name = last_stream_inf.get('NAME') if stream_name: return stream_name |