mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[extractor/generic] Fix missing byte literal prefix
This commit is contained in:
parent
4cd70099ea
commit
0d769bcb78
@ -1317,7 +1317,7 @@ def _real_extract(self, url):
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user