
    VGh                     .    d dl Z ddlmZ  G d de      Zy)    N   )InfoExtractorc                   B    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 Zy)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                     | j                  |      }| j                  ||      }t        j                  d|      j	                         \  }}|sd}| j                  | j                  ||fz  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aids         f/var/www/it7/html/youtubeDownloader/venv/lib/python3.12/site-packages/yt_dlp/extractor/europeantour.py_real_extractzEuropeanTourIE._real_extract   sp    >>#&((h799bdklssuS!C((C:5H 	H    N)__name__
__module____qualname__
_VALID_URL_TESTSr    r'    r(   r&   r   r      sU    bJ j!9 #*$%?%

 #D) F  gHr(   r   )r   commonr   r   r.   r(   r&   <module>r0      s    	 !H] Hr(   