
    ĞiF                         ddZ d S )Nc                 h   |=t          | d          5 }|                    d          }ddd           n# 1 swxY w Y   |                    d          r|                    dd          rdS |                    d          rd	S |                    d
          rdS |                    d          rdS dS )zDetect format of image (Currently supports jpeg, png, webp, gif only)
    Ref: https://github.com/python/cpython/blob/3.11/Lib/imghdr.py
    Ref: https://www.w3.org/Graphics/JPEG/itu-t81.pdf
    Nrb   s   RIFFs   WEBP   webps   PNGpngs   jpegs   GIFgif)openread
startswith)filehfs      YC:\Users\betacode\Desktop\descargarYoutube\venv\Lib\site-packages\yt_dlp/compat/imghdr.pywhatr      s    
 	y$ 	r

A	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	||G gq!9!9 v||J u||O$$ v||F u4s   599)NN)r        r   <module>r      s#        r   