
    VGh                      :    d dl mZ ddlmZmZmZ  G d de      Zy)   )InfoExtractor   )format_fieldtraverse_objunified_timestampc                   >    e Zd ZdZdddddddd	d
ddddddgZd Zy)LivestreamfailsIEzDhttps?://(?:www\.)?livestreamfails\.com/(?:clip|post)/(?P<id>[0-9]+)z'https://livestreamfails.com/clip/139200 8a03aea1a46e94a05af6410337463102139200mp4z3ConcernedLitigiousSalmonPeteZaroll-O8yo9W2L8OZEKhV2z-Streamer jumps off a trampoline at full speedparadeev1chzre:^https?://.+ib20220626)idext
display_idtitlecreator	thumbnail	timestampupload_date)urlmd5	info_dictz'https://livestreamfails.com/post/139200T)r   only_matchingc                    | j                  |      }| j                  d| |      }||j                  d      t        |j                  d            d|d    |j                  d      t	        |d      t        |dd	      d
S )Nz%https://api.livestreamfails.com/clip/sourceId	createdAtz3https://livestreamfails-video-prod.b-cdn.net/video/videoIdlabel)streamerr   imageIdz5https://livestreamfails-image-prod.b-cdn.net/image/%s)r   r   r   r   r   r   r   )	_match_id_download_jsongetr   r   r   )selfr   video_idapi_responses       i/var/www/it7/html/youtubeDownloader/venv/lib/python3.12/site-packages/yt_dlp/extractor/livestreamfails.py_real_extractzLivestreamfailsIE._real_extract   s    >>#&**-RS[R\+]_gh &**:6*<+;+;K+HIHV_I`Hab!%%g.#L2GH%lI?vw
 	
    N)__name__
__module____qualname__
_VALID_URL_TESTSr)    r*   r(   r	   r	      sH    XJ81OD$+#%	
 9F$
r*   r	   N)commonr   utilsr   r   r   r	   r0   r*   r(   <module>r3      s    ! A A 
  
r*   