mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[compat] Implement compat.imghdr
				
					
				
			Python 3.11 deprecates `imghdr` module
This commit is contained in:
		| @@ -1,11 +1,11 @@ | ||||
| import base64 | ||||
| import imghdr | ||||
| import os | ||||
| import re | ||||
| import subprocess | ||||
| 
 | ||||
| from .common import PostProcessor | ||||
| from .ffmpeg import FFmpegPostProcessor, FFmpegThumbnailsConvertorPP | ||||
| from ..compat import imghdr | ||||
| from ..dependencies import mutagen | ||||
| from ..utils import ( | ||||
|     Popen, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan