
    V|h[
                     2    S SK Jr  SSKJr   " S S\5      rg)   )InfoExtractor   )smuggle_urlc            	       `    \ 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.SSSSS.S./rS rSrg)KickStarterIE   z=https?://(?:www\.)?kickstarter\.com/projects/(?P<id>[^/]*)/.*z`https://www.kickstarter.com/projects/1404461844/intersection-the-story-of-josh-grant/description c81addca81327ffa66c642b5d8b08cab
1404461844mp4z5Intersection: The Story of Josh Grant by Kyle CowlingzpA unique motocross documentary that examines the life and mind of one of sports most elite athletes: Josh Grant.)idexttitledescription)urlmd5	info_dictz?Embedded video (not using the native kickstarter video service)zghttps://www.kickstarter.com/projects/597507018/pebble-e-paper-watch-for-iphone-and-android/posts/65917878704821pebblezPebble TechnologyzPebble iOS Notifications)r   r   uploader_iduploaderr   Vimeo)noter   r   add_iezRhttps://www.kickstarter.com/projects/1420158244/power-drive-2000/widget/video.html
1420158244zPower Drive 2000)r   r   r   )r   r   c                 2   U R                  U5      nU R                  X5      nU R                  SUS5      nU R                  SUSS S9nUc  SS[	        USS	05      US
.$ U R                  US S9nUc  U R                  SUSSS9nUUUU R                  US S9US.$ )Nz7<title>\s*(.*?)(?:\s*&mdash;\s*Kickstarter)?\s*</title>r   zdata-video-url="(.*?)"z	video URL)defaulturl_transparentGeneric
to_genericT)_typeie_keyr   r   z9<img[^>]+class="[^"]+\s*poster\s*[^"]+"[^>]+src="([^"]+)"zthumbnail imageF)fatal)r   r   r   r   	thumbnail)	_match_id_download_webpage_html_search_regex_search_regexr   _og_search_thumbnail_og_search_description)selfr   video_idwebpager   	video_urlr#   s          V/home/james-whalen/.local/lib/python3.13/site-packages/yt_dlp/extractor/kickstarter.py_real_extractKickStarterIE._real_extract'   s    >>#&((7''FW &&%[$ ' 0	 *#"3t(<=	  --gt-D	//L*% 0 9I 66w6M"
 	
     N)__name__
__module____qualname____firstlineno__
_VALID_URL_TESTSr/   __static_attributes__r2   r1   r.   r   r      su    QJq1LR
 Rx#+/
 ) d'
/F@
r1   r   N)commonr   utilsr   r   r2   r1   r.   <module>r<      s    ! ?
M ?
r1   