aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-19 05:43:43 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-19 05:43:43 +0600
commit0d769bcb781b46a00ddf958d6ea945560f2d6cd5 (patch)
tree7ba498d10ecd7969ae7d010574dbc67a429b0afd /youtube_dl/extractor/generic.py
parent4cd70099ea79a4a82b26694937ca46d31f7436ca (diff)
[extractor/generic] Fix missing byte literal prefix
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index f28a65d9b..26de27a7e 100644
--- 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