mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[extractor/generic] Fix missing byte literal prefix
This commit is contained in:
		| @@ -1317,7 +1317,7 @@ class GenericIE(InfoExtractor): | |||||||
|         first_bytes = full_response.read(512) |         first_bytes = full_response.read(512) | ||||||
|  |  | ||||||
|         # Is it an M3U playlist? |         # 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') |             info_dict['formats'] = self._extract_m3u8_formats(url, video_id, 'mp4') | ||||||
|             return info_dict |             return info_dict | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․