
    VGh
                     F    d dl mZ ddlmZmZmZmZmZmZ  G d de      Z	y)   )InfoExtractor   )
clean_htmlformat_fieldint_or_nonestrip_or_nonetraverse_objunified_timestampc                   `    e Zd ZdZdddddddd	d
deeedddddddddddddeeeddgZd Zy)TruthIEz2https?://truthsocial\.com/@[^/]+/posts/(?P<id>\d+)zAhttps://truthsocial.com/@realDonaldTrump/posts/108779000807761862 4a5fb1470c192e493d9efd6f19e514d3108779000807761862qtzTruth video #108779000807761862ib20220807zDonald J. TrumprealDonaldTrumpz(https://truthsocial.com/@realDonaldTrump)idexttitle	timestampupload_dateuploaderuploader_iduploader_urlrepost_countcomment_count
like_count)urlmd5	info_dictzFhttps://truthsocial.com/@ProjectVeritasAction/posts/108618228543962049 fd47ba68933f9dce27accc52275be9c3108618228543962049mp4z$md5:debde7186cf83f60ff7b44dbb9444e35z$md5:de2fc49045bf92bb8dc97e56503b150fib20220709zProject Veritas ActionProjectVeritasActionz-https://truthsocial.com/@ProjectVeritasAction)r   r   r   descriptionr   r   r   r   r   r   r   r   c                    | j                  |      }| j                  d| |      }t        t        |d            }||d   d   d   dt        t	        |j                  d                  xs d t        |j                  d            t        t        |d	            |t        |d d
      t        |j                  d            t        |j                  d            t        |j                  d            dS )Nz(https://truthsocial.com/api/v1/statuses/)accountusernamemedia_attachments    r    content
created_at)r'   display_namezhttps://truthsocial.com/@%sreblogs_countfavourites_countreplies_count)r   r   r   r%   r   r   r   r   r   r   r   )		_match_id_download_jsonr   r	   r   getr
   r   r   )selfr   video_idstatusr   s        _/var/www/it7/html/youtubeDownloader/venv/lib/python3.12/site-packages/yt_dlp/extractor/truth.py_real_extractzTruthIE._real_extract4   s    >>#&$$'OPXz%Z\de#L9P$QR-.q1%8(FJJy4I)JKSt*6::l+CD%l6;V&WX&(d<YZ'

?(CD%fjj1C&DE(O)DE
 	
    N)__name__
__module____qualname__
_VALID_URLint_TESTSr9    r:   r8   r   r      s    FJ W5*:')-0 J #!$!	
$ \5*?E')45 O #!$!	
%$FL
r:   r   N)
commonr   utilsr   r   r   r   r	   r
   r   rA   r:   r8   <module>rD      s    ! 8
m 8
r:   