o
    ˆ¬iª  ã                   @   s    d dl mZ G dd„ deƒZdS )é   )ÚInfoExtractorc                	   @   s:   e Zd ZdZdddddddd	d
œdgdœZdZdd„ ZdS )Ú
Formula1IEzJhttps?://(?:www\.)?formula1\.com/en/latest/video\.[^.]+\.(?P<id>\d+)\.htmlzVhttps://www.formula1.com/en/latest/video.race-highlights-spain-2016.6060988138001.htmlÚ be7d3a8c2f804eb2ab2aa5d941c359f8Ú6060988138001Úmp4zRace highlights - Spain 2016iÎ¯8WÚ20160515Ú6057949432001)ÚidÚextÚtitleÚ	timestampÚupload_dateÚuploader_idÚBrightcoveNew)ÚurlÚmd5Ú	info_dictÚadd_iezShttp://players.brightcove.net/6057949432001/S1WMrhjlh_default/index.html?videoId=%sc                 C   s   |   |¡}|  | j| d|¡S )Nr   )Ú	_match_idÚ
url_resultÚBRIGHTCOVE_URL_TEMPLATE)Úselfr   Úbc_id© r   úM/home/ubuntu/.local/lib/python3.10/site-packages/yt_dlp/extractor/formula1.pyÚ_real_extract   s   
ÿzFormula1IE._real_extractN)Ú__name__Ú
__module__Ú__qualname__Ú
_VALID_URLÚ_TESTr   r   r   r   r   r   r      s    úõr   N)Úcommonr   r   r   r   r   r   Ú<module>   s    