
    VGhF                         ddZ y )Nc                     |&t        | d      5 }|j                  d      }ddd       |j                  d      r|j                  dd      ry|j                  d      ry	|j                  d
      ry|j                  d      ryy# 1 sw Y   dxY w)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      ]/var/www/it7/html/youtubeDownloader/venv/lib/python3.12/site-packages/yt_dlp/compat/imghdr.pywhatr      s    
 	y$ 	r
A	 	||Ggq!9||J||O$||F	 	s   BB)NN)r        r   <module>r      s
   r   