aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-10-18 19:19:46 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-10-18 19:19:46 +0800
commit05a3879f1c142cc2bf0287cde4690d8ccadcdc8f (patch)
tree2dbdb648e44ad4d23e2d62cc1b8bc363ed7c091f /youtube_dl/extractor
parent8b172c2e10fb38c62c213673304c7e8dcd17b768 (diff)
[letv] Update M3U8's MIME type
The new MIME type appears in the following places: https://www.iana.org/assignments/media-types/media-types.xhtml#application https://hg.python.org/cpython/file/tip/Lib/mimetypes.py
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/letv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/letv.py b/youtube_dl/extractor/letv.py
index 9ebbc8089..effd9eb92 100644
--- a/youtube_dl/extractor/letv.py
+++ b/youtube_dl/extractor/letv.py
@@ -162,7 +162,7 @@ class LetvIE(InfoExtractor):
m3u8_data = self.decrypt_m3u8(req.read())
url_info_dict = {
- 'url': encode_data_uri(m3u8_data, 'application/x-mpegURL'),
+ 'url': encode_data_uri(m3u8_data, 'application/vnd.apple.mpegurl'),
'ext': determine_ext(dispatch[format_id][1]),
'format_id': format_id,
'protocol': 'm3u8',