]> git.bitcoin.ninja Git - youtube-dl/commit
[extractor/common] Fix format_id when `last_media` is None and always include `m3u8_i...
authorSergey M․ <dstftw@gmail.com>
Fri, 6 Mar 2015 16:52:50 +0000 (22:52 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 6 Mar 2015 16:52:50 +0000 (22:52 +0600)
commit8dc9d361c22754e6b6b52136d496d754dea65b46
treef1b88bf7abf3f544026dd719b15c0e72939e836c
parentd0e958c71c8c561d1c3917d114370fcb85972181
[extractor/common] Fix format_id when `last_media` is None and always include `m3u8_id` if present

The rationale behind `m3u8_id` was to resolve duplicates when processing several m3u8 playlists within the same media that give equal resulting `format_id`'s,
e.g. `youtube-dl http://www.rts.ch/play/tv/passe-moi-les-jumelles/video/la-fee-des-bois-mustang-les-chemins-du-vent?id=3854925 -F`
youtube_dl/extractor/common.py