
    yf                     H    d dl mZ ddlm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                 R    d|z  }| j                  d      s|dz  }t        |d      )NzYou've asked yt-dlp to download the URL "%s". 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      A/usr/lib/python3/dist-packages/yt_dlp/extractor/commonmistakes.py_real_extractzCommonMistakesIE._real_extract   s:    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                 n    | j                  |      }| j                  d|z         | j                  |      S )NzWYour URL starts with a Byte Order Mark (BOM). Removing the BOM and looking for "%s" ...)	_match_idreport_warning
url_result)r   r   real_urls      r   r   zUnicodeBOMIE._real_extract%   s>    >>#&8:BC	D x((r   Nr   r   r   r   r   r      s&    G.J B F
)r   r   N)commonr   utilsr   r   r   r   r   r   <module>r&      s#    ! "1} 1.)= )r   