
    V|h                     &    S SK Jr   " S S\5      rg)   )InfoExtractorc            
       >    \ rS rSrSrSSSSSSS	S
SS.S.rSrS rSrg)	MaoriTVIE   zIhttps?://(?:www\.)?maoritelevision\.com/shows/(?:[^/]+/)+(?P<id>[^/?&#]+)zWhttps://www.maoritelevision.com/shows/korero-mai/S01E054/korero-mai-series-1-episode-54 5ade8ef53851b6a132c051b1cd8588994774724855001mp4u    Kōrero Mai, Series 1 Episode 5420160226ijVz$md5:59bde32fd066d637a1a55794c56d8dcb1614493167001)idexttitleupload_date	timestampdescriptionuploader_id)urlmd5	info_dictzShttp://players.brightcove.net/1614493167001/HJlhIQhQf_default/index.html?videoId=%sc                     U R                  U5      nU R                  X5      nU R                  SUS5      nU R                  U R                  U-  SU5      $ )Nzdata-main-video-id=["\'](\d+)zbrightcove idBrightcoveNew)	_match_id_download_webpage_search_regex
url_resultBRIGHTCOVE_URL_TEMPLATE)selfr   
display_idwebpagebrightcove_ids        R/home/james-whalen/.local/lib/python3.13/site-packages/yt_dlp/extractor/maoritv.py_real_extractMaoriTVIE._real_extract   s\    ^^C(
((9**,gH((=8], 	,     N)	__name__
__module____qualname____firstlineno__
_VALID_URL_TESTr   r"   __static_attributes__r%   r$   r!   r   r      s<    ]Jh1!7%#A*
E t,r$   r   N)commonr   r   r%   r$   r!   <module>r.      s    !, ,r$   