o
    i                     @   s(   d dl Z ddlmZ G dd deZdS )    N   )InfoExtractorc                   @   sD   e Zd ZdZdddddddd	gd
dd	ddidgZdZdd ZdS )EuropeanTourIEzNhttps?://(?:www\.)?europeantour\.com/dpworld-tour/news/video/(?P<id>[^/&?#$]+)zXhttps://www.europeantour.com/dpworld-tour/news/video/the-best-shots-of-the-2021-seasons/6287788195001mp4z"The best shots of the 2021 seasonsg/$@ia5136026580001zprod-importedz$md5:fdac52bc826548860edf8145ee74e71a20211220)	idexttitleduration	timestampuploader_idtags	thumbnailupload_dateskip_downloadT)url	info_dictparamszFhttp://players.brightcove.net/%s/default_default/index.html?videoId=%sc                 C   sH   |  |}| ||}td| \}}|sd}| | j||f dS )NzB(?s)brightcove-player\s?video-id="([^"]+)".*"ACCOUNT_ID":"([^"]+)"r   BrightcoveNew)	_match_id_download_webpageresearchgroups
url_resultBRIGHTCOVE_URL_TEMPLATE)selfr   video_idwebpagevidaid r#   Q/home/ubuntu/.local/lib/python3.10/site-packages/yt_dlp/extractor/europeantour.py_real_extract   s   
zEuropeanTourIE._real_extractN)__name__
__module____qualname__
_VALID_URL_TESTSr   r%   r#   r#   r#   r$   r      s"    r   )r   commonr   r   r#   r#   r#   r$   <module>   s    