o
    i                     @   sL   d dl mZ ddlmZ G dd deZG dd deZG dd	 d	eZd
S )   )InfoExtractor   ExtractorErrorc                   @   s0   e Zd ZdZdZddddddgZdd Zd	S )
CommonMistakesIEFz(?:url|URL|yt-dlp)$urlTr   only_matchingURLc                 C   s*   d| d}|  ds|d7 }t|d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   msg r   S/home/ubuntu/.local/lib/python3.10/site-packages/yt_dlp/extractor/commonmistakes.py_real_extract   s
   

zCommonMistakesIE._real_extractN__name__
__module____qualname__IE_DESC
_VALID_URL_TESTSr   r   r   r   r   r      s    r   c                   @   (   e Zd ZdZdZdddgZdd ZdS )	UnicodeBOMIEFz(?P<bom>\ufeff)(?P<id>.*)$u-   ﻿http://www.youtube.com/watch?v=BaW_jenozKcTr   c                 C   s&   |  |}| d| d | |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_urlr   r   r   r   %   s   

zUnicodeBOMIE._real_extractNr   r   r   r   r   r          r   c                   @   r   )	BlobIEFzblob:zAblob:https://www.youtube.com/4eb3d090-a761-46e6-8083-c32016a36e3bTr   c                 C   s   t d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   r   r   r   r   6   s   zBlobIE._real_extractNr   r   r   r   r   r"   -   r!   r"   N)commonr   utilsr   r   r   r"   r   r   r   r   <module>   s
    