
    V|hN                     2    S SK Jr  SSKJr   " S S\5      rg)   )InfoExtractor   )ExtractorErrorc            	       R    \ rS rSrSrSSSSSS\S	.S
S.SSSSSS\S	.S
S./rS rSrg)Sport5IE   zBhttps?://(?:www|vod)?\.sport5\.co\.il/.*\b(?:Vi|docID)=(?P<id>\d+)z0http://vod.sport5.co.il/?Vc=147&Vi=176331&Page=1zs5-Y59xx1-GUh2mp4u   ולנסיה-קורדובה 0:3u   אלקאסר, גאייה ופגולי סידרו לקבוצה של נונו ניצחון על קורדובה ואת המקום הראשון בליגה   )idexttitledescriptionduration
categorieszBlocked outside of Israel)url	info_dictskipzHhttp://www.sport5.co.il/articles.aspx?FolderID=3075&docID=176372&lang=HEzs5-SiXxx1-hKh2zGOALS_CELTIC_270914.mp4 W   c                    U R                  U5      nUR                  S5      nU R                  X5      nU R                  SUS5      nU R	                  SU S3U5      nUR                  S5      nUbW  [        SR                  U R                  UR                  S5      R                  UR                  S	5      R                  5      S
S9eUR                  S5      R                  nUR                  S	5      R                  n	[        UR                  S5      R                  5      n
UR                  S5      nUb`  UR                  S5       Vs/ s HC  nUR                  [        UR                  S5      5      [        UR                  S5      5      S.PME     snO/ nUR                  S5      nUb0  UR                  S5       Vs/ s H  oR                  S5      PM     snO/ nUR                  S5       Vs/ s H]  nUR                  S[        UR                  S5      5      [        UR                  S5      5      [        UR                  S5      5      S.PM_     nnUUU	UU
UUS.$ s  snf s  snf s  snf )Nr   zclipId=([\w-]+)zvideo idz/http://sport5-metadata-rr-d.nsacdn.com/vod/vod/z/HDS/metadata.xmlz./Errorz{} returned error: {} - {}z./Namez./DescriptionT)expectedz./Titlez
./Durationz./PosterLinksz./PosterIMGwidthheight)r   r   r   z./Categoriesz
./Categorynamez./PlaybackLinks/FileURLr	   bitrate)r   r   vbrr   r   )r   r   r   
thumbnailsr   r   formats)_match_valid_urlgroup_download_webpage_html_search_regex_download_xmlfindr   formatIE_NAMEtextintfindallget)selfr   mobjmedia_idwebpagevideo_idmetadataerrorr   r   r   
posters_el	thumbnailr   categories_elcatr   fmtr   s                      Q/home/james-whalen/.local/lib/python3.13/site-packages/yt_dlp/extractor/sport5.py_real_extractSport5IE._real_extract!   sr   $$S)::d#((7**+=w
S%%=hZGXY i( ,33LLJJx(--JJ/446   i(--mmO499x}}\2778]]?3

 BLAW:--m<	> =i >>w/0)--12
 =	> ^`	 	 !n5 & (5'<'<\'J
'JGGFO'J
,. 	 %%&?@B Ac 88swwy)*)*#''(+,
 A 	 B &$ $
 	
'>
Bs   	A
I!?I&1A$I+ N)	__name__
__module____qualname____firstlineno__
_VALID_URLlist_TESTSr8   __static_attributes__r:       r7   r   r      sd    VJ F&:  x" 0	
 ^&2!" 0
F45
rC   r   N)commonr   utilsr   r   r:   rC   r7   <module>rF      s    ! "Q
} Q
rC   