
    V|h                     N    S SK Jr  SSKJrJrJr  SSKJrJrJ	r	   " S S\5      r
g)   )InfoExtractor   )
clean_htmlextract_attributesurl_or_none)find_elementrequiretraverse_objc                   6    \ rS rSrSrSSSSSSS	.S
./rS rSrg)TheHighWireIE   z>https?://(?:www\.)?thehighwire\.com/ark-videos/(?P<id>[^/?#]+)zEhttps://thehighwire.com/ark-videos/the-deposition-of-stanley-plotkin/z!the-deposition-of-stanley-plotkinmp4z!THE DEPOSITION OF STANLEY PLOTKINz$md5:6d0be4f1181daaa10430fd8b945a5e54z0re:https?://static\.arkengine\.com/video/.+\.jpg)idexttitledescription	thumbnail)url	info_dictc           
      N   U R                  U5      nU R                  X5      n[        U[        SSS91[        1S[
        1[        S5      145      nU R                  XB5      nSU0[        U[        SS91[        14[        S	S91[        14S
.5      EU R                  XEUSS9S   E$ )Nzark-video-embedT)clshtmlsrcz	embed URLr   zsection-header)r   zepisode-description__copy)r   r   hls)m3u8_id    )		_match_id_download_webpager
   r   r   r   r	   r   _parse_html5_media_entries)selfr   
display_idwebpage	embed_url
embed_pages         V/home/james-whalen/.local/lib/python3.13/site-packages/yt_dlp/extractor/thehighwire.py_real_extractTheHighWireIE._real_extract   s    ^^C(
((9 /d;< %+9M8N+P Q	 ++IB
 *
7',<=>M!-2M!N OR\Q]^% 
 --iZY^-_`ab
 	
     N)__name__
__module____qualname____firstlineno__
_VALID_URL_TESTSr&   __static_attributes__r)   r(   r%   r   r      s/    RJV58AL
	 	F
r(   r   N)commonr   utilsr   r   r   utils.traversalr   r	   r
   r   r)   r(   r%   <module>r4      s(    ! 
 
M 
r(   