
    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0S.rS rSrg)OktoberfestTVIE   zGhttps?://(?:www\.)?oktoberfest-tv\.de/[^/]+/[^/]+/video/(?P<id>[^/?#]+)z5http://www.oktoberfest-tv.de/de/kameras/video/hb-zeltzhb-zeltmp4uK   re:^Live-Kamera: Hofbräuzelt [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$zre:^https?://.*\.jpg$T)idexttitle	thumbnailis_liveskip_download)url	info_dictparamsc                     U R                  U5      nU R                  X5      nU R                  SUS5      nU R                  SUS5      nU R                  SUS5      nXe-   nU R                  SUSS	S
9nUUUSSUS.$ )Nz"<h1><strong>.*?</strong>(.*?)</h1>r
   zclip:\s*\{\s*url:\s*'([^']+)'clipznetConnectionUrl:\s*'([^']+)'z	rtmp basez2canvas:\s*\{\s*backgroundImage:\s*'url\(([^)]+)\)'r   F)fatalr   T)r   r
   r   r	   r   r   )	_match_id_download_webpage_html_search_regex_search_regex)	selfr   video_idwebpager
   r   ncurl	video_urlr   s	            X/home/james-whalen/.local/lib/python3.13/site-packages/yt_dlp/extractor/oktoberfesttv.py_real_extractOktoberfestTVIE._real_extract   s    >>#&((7''17GE !!,gv?"",g{DL	&&A7u ' &	
 "
 	
     N)__name__
__module____qualname____firstlineno__
_VALID_URL_TESTr   __static_attributes__r!   r    r   r   r      s9    [J Gb1
 T
E
r    r   N)commonr   r   r!   r    r   <module>r*      s    !(
m (
r    