[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
This commit is contained in:
Sergey M․ 2017-04-22 07:01:00 +07:00
parent f779958250
commit cb2520802d
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D
7 changed files with 466 additions and 60 deletions

1
.gitignore vendored
View file

@ -36,7 +36,6 @@ updates_key.pem
*.swf
*.part
*.swp
test/testdata
test/local_parameters.json
.tox
youtube-dl.zsh