o
    i                     @   s8   d dl mZmZ ddlmZmZmZ G dd deZdS )   )VidyardBaseIE	VidyardIE   )ExtractorErrormake_archive_idurl_basenamec                
   @   s8   e Zd ZdZdddddddd	d
gddgZdd ZdS )CellebriteIEz0https?://cellebrite\.com/(?:\w+)?/(?P<id>[\w-]+)zbhttps://cellebrite.com/en/how-to-lawfully-collect-the-maximum-amount-of-data-from-android-devices/QV1U8a2yzcxigw7VFnqKyg29018255mp4zGHow to Lawfully Collect the Maximum Amount of Data From Android Devicesz$md5:0e943a9ac14c374d5d74faed634d773cz}https://cellebrite.com/wp-content/uploads/2022/07/How-to-Lawfully-Collect-the-Maximum-Amount-of-Data-From-Android-Devices.pnggGz`@zcellebrite 29018255)id
display_idexttitledescription	thumbnailduration_old_archive_ids)url	info_dictc                 C   s   |  |}| ||}tt||d }|stdt|}| | |d d |}|	dr:t
| |d g|d< | j|d d }rN|dg d|i d	| j|d di|S )
Nz%No Vidyard video embeds found on pagechapters    r   r   )default
thumbnailsr   r   )	_match_id_download_webpagenextr   _extract_embed_urlsr   r   _process_video_json_fetch_video_jsongetr   _og_search_thumbnail
setdefaultappend_og_search_description)selfr   slugwebpagevidyard_urlvideo_idinfor    r+   O/home/ubuntu/.local/lib/python3.10/site-packages/yt_dlp/extractor/cellebrite.py_real_extract   s   

zCellebriteIE._real_extractN)__name__
__module____qualname__
_VALID_URL_TESTSr-   r+   r+   r+   r,   r      s    r   N)vidyardr   r   utilsr   r   r   r   r+   r+   r+   r,   <module>   s    