
    V|h                     B    S SK Jr  S SKJr  SSKJrJr   " S S\5      rg)   )YoutubeTabBaseInfoExtractor)	YoutubeIE   )ExtractorErrortraverse_objc                       \ rS rSrSrSrS0 SS_SS_S	S
_SS_SS_SS_SS_SS/_SS_SS_SS_SS_S\_SS_S S!_S"S#_S$S%_S&SS'S(\S)\S*\S+S,S-.ES../rS/ rS0r	g1)2YoutubeClipIE   zyoutube:clipz4https?://(?:www\.)?youtube\.com/clip/(?P<id>[^/?#]+)z7https://www.youtube.com/clip/UgytZKpehg-hEMBSn3F4AaABCQidzUgytZKpehg-hEMBSn3F4AaABCQextmp4section_startg      =@section_endgC@durationgffffff%@	age_limit    availabilitypublic
categoriesGamingchannelzScott The Woz
channel_idUC4rqhyiTs7XyuODcECvuiiQchannel_urlz8https://www.youtube.com/channel/UC4rqhyiTs7XyuODcECvuiiQdescriptionz$md5:7a4517a17ea9b4bd98996399d8bb36e7
like_countplayable_in_embedTtagszcount:17	thumbnailz:https://i.ytimg.com/vi_webp/ScPX26pdQik/maxresdefault.webptitlez'Mobile Games on Console - Scott The Woz20210920z@ScottTheWozz$https://www.youtube.com/@ScottTheWoznot_livezcount:20z	count:100clip)upload_dateuploaderuploader_iduploader_url
view_countlive_statuschannel_follower_countchapterscomment_countheatmap
media_type)url	info_dictc           
         U R                  U5      nU R                  X5      u  p4[        US5      nU(       d  [        S5      e[        USSS9nSSU 3[        R
                  " 5       US[        US	   5      S
-  [        US   5      S
-  SS.$ )N)currentVideoEndpointwatchEndpointvideoIdzUnable to find video ID)engagementPanels."engagementPanelSectionListRenderercontentclipSectionRenderercontents.clipAttributionRendereronScrubExitcommandExecutorCommandcommands.openPopupActionpopupnotificationActionRendereractionButtonbuttonRenderercommandr<   r=   .loopCommandF)get_allurl_transparentz https://www.youtube.com/watch?v=r#   startTimeMsi  	endTimeMs)
zproto:httpsqualityresfpszhdr:12sourcevcodecchannelsacodeclang)_typer/   ie_keyr   r.   r   r   _format_sort_fields)	_match_id_extract_webpager   r   r   rR   int)selfr/   clip_id_datavideo_id	clip_datas          X/home/james-whalen/.local/lib/python3.13/site-packages/yt_dlp/extractor/youtube/_clip.py_real_extractYoutubeClipIE._real_extract,   s    ..%''5&Z[ !:;;  (F PU	V	 '5hZ@&&(  =!9:TAy56=$t

 
	
     N)
__name__
__module____qualname____firstlineno__IE_NAME
_VALID_URLrV   _TESTSr^   __static_attributes__ra   r`   r]   r	   r	      s!   GHJ I
.
5
 T
 4	

 
 
 H
 8*
 
 4
 U
 A
 #
  
 J
  U!
" >#
$ &')B%&)" " 9
! !FF
r`   r	   N)_tabr   _videor   utilsr   r   r	   ra   r`   r]   <module>rm      s    -  1>
/ >
r`   