
    VGh                     ^    d dl mZ ddlmZ  G d de      Z G d de      Z G d d	e      Zy
)   )InfoExtractor   ExtractorErrorc                   .    e Zd ZdZdZddddddgZd Zy)	CommonMistakesIEFz(?:url|URL|yt-dlp)$urlTr	   only_matchingURLc                 T    d| d}| j                  d      s|dz  }t        |d      )Nz)You've asked yt-dlp to download the URL "z]". That doesn't make any sense. Simply remove the parameter in your command or configuration.verbosezN Add -v to the command line to see what arguments and configuration yt-dlp hasTexpected)	get_paramr   )selfr	   msgs      h/var/www/it7/html/youtubeDownloader/venv/lib/python3.12/site-packages/yt_dlp/extractor/commonmistakes.py_real_extractzCommonMistakesIE._real_extract   s@    8 >L L 	
 ~~i(ccCS400    N__name__
__module____qualname__IE_DESC
_VALID_URL_TESTSr    r   r   r   r      s2    G'J  F1r   r   c                   &    e Zd ZdZdZdddgZd Zy)UnicodeBOMIEFz(?P<bom>\ufeff)(?P<id>.*)$u-   ﻿http://www.youtube.com/watch?v=BaW_jenozKcTr
   c                 p    | j                  |      }| j                  d| d       | j                  |      S )NzPYour URL starts with a Byte Order Mark (BOM). Removing the BOM and looking for "z" ...)	_match_idreport_warning
url_result)r   r	   real_urls      r   r   zUnicodeBOMIE._real_extract%   sB    >>#&119
%A	B x((r   Nr   r   r   r   r    r       s&    G.J B F
)r   r    c                   &    e Zd ZdZdZdddgZd Zy)BlobIEFzblob:zAblob:https://www.youtube.com/4eb3d090-a761-46e6-8083-c32016a36e3bTr
   c                     t        dd      )NzYou've asked yt-dlp to download a blob URL. A blob URL exists only locally in your browser. It is not possible for yt-dlp to access it.Tr   r   )r   r	   s     r   r   zBlobIE._real_extract6   s    :DHJ 	Jr   Nr   r   r   r   r'   r'   -   s'    GJ S F
Jr   r'   N)commonr   utilsr   r   r    r'   r   r   r   <module>r+      s1    ! "1} 1.)= )"J] Jr   