[extractor/common] Improve m3u8 extraction (closes #12211)
authorSergey M․ <dstftw@gmail.com>
Sat, 22 Apr 2017 00:01:00 +0000 (07:01 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 22 Apr 2017 00:01:00 +0000 (07:01 +0700)
commitcb2520802d7b8efdc71d6d97aeca984b5f878716
tree8263f79f9b536130b5faa89d9ee4184b3b2b453a
parentf7799582500ca2b00c371c287028298f187c0477
[extractor/common] Improve m3u8 extraction (closes #12211)
* Extract m3u8 parsing to separate method
* Improve rendition groups extraction
* Build stream name according stream GROUP-ID
* Ignore reference to AUDIO group without URI when stream has no CODECS
+ Add test coverage for parsing m3u8 from #11507, #11995, #12211 and twitch vod
.gitignore
test/test_InfoExtractor.py
test/testdata/m3u8/pluzz_francetv_11507.m3u8 [new file with mode: 0644]
test/testdata/m3u8/teamcoco_11995.m3u8 [new file with mode: 0644]
test/testdata/m3u8/toggle_mobile_12211.m3u8 [new file with mode: 0644]
test/testdata/m3u8/twitch_vod.m3u8 [new file with mode: 0644]
youtube_dl/extractor/common.py