[common] Skip TYPE=CLOSED-CAPTIONS lines in m3u8 manifests
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 21 May 2016 05:16:28 +0000 (13:16 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sat, 21 May 2016 05:16:28 +0000 (13:16 +0800)
commit7b2fcbfd4ea34e6d29484f5987a36665117aefaa
treeeb42e03ca561db564123c3c0e945a648e55bb75f
parent16da9bbc29b76b6e6e1a6134a17e9f25d91296c8
[common] Skip TYPE=CLOSED-CAPTIONS lines in m3u8 manifests

According to [1], valid values for TYPE are AUDIO, VIDEO, SUBTITLES
and CLOSED-CAPTIONS. Such a value is found in Anvato master playlists,
though I don't use _extract_m3u8_formats() in the end.

Part of #9522.

[1] https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.4.1
youtube_dl/extractor/common.py