projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cd7009
)
[extractor/generic] Fix missing byte literal prefix
author
Sergey M․
<dstftw@gmail.com>
Fri, 18 Mar 2016 23:43:43 +0000
(
05:43
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 18 Mar 2016 23:43:43 +0000
(
05:43
+0600)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index f28a65d9be347eebc20dde60bb1bb07a1ae7fcf0..26de27a7e2a86abae8a2c2fa79bce94645826b6f 100644
(file)
--- a/
youtube_dl/extractor/generic.py
+++ b/
youtube_dl/extractor/generic.py
@@
-1317,7
+1317,7
@@
class GenericIE(InfoExtractor):
first_bytes = full_response.read(512)
# Is it an M3U playlist?
- if first_bytes.startswith('#EXTM3U'):
+ if first_bytes.startswith(
b
'#EXTM3U'):
info_dict['formats'] = self._extract_m3u8_formats(url, video_id, 'mp4')
return info_dict