
    VGh                     J    d dl mZ d dlmZ ddlmZ ddlmZ  G d de      Zy)	   )BrightcoveNewIE)InfoExtractor   )url_or_none)traverse_objc                   Z    e Zd ZdZdddddgddd	d
ddd
dddddddddgdddd
dgZd Zy)	DrTalksIEz5https?://(?:www\.)?drtalks\.com/videos/(?P<id>[\w-]+)z_https://drtalks.com/videos/six-pillars-of-resilience-tools-for-managing-stress-and-flourishing/6366193757112mp46314452011001
resiliencez$md5:9c6805aee237ee6de8052461855b9ddaicgzWhttps://drtalks.com/wp-content/uploads/2024/12/Episode-82-Eva-Selhub-DrTalks-Thumbs.jpgzDSix Pillars of Resilience: Tools for Managing Stress and Flourishingg/]@20241218)
idextuploader_idtagsdescription	timestamp	thumbnailtitledurationupload_date)url	info_dictzYhttps://drtalks.com/videos/the-pcos-puzzle-mastering-metabolic-health-with-marcelle-pick/6364699891112z>The PCOS Puzzle: Mastering Metabolic Health with Marcelle Pickz$md5:e87cbe00ca50135d5702787fc4043aaaz\https://drtalks.com/wp-content/uploads/2024/11/Episode-34-Marcelle-Pick-OBGYN-NP-DrTalks.jpggfffffv@pcos20241114i5g)
r   r   r   r   r   r   r   r   r   r   c                    | j                  |      }| j                  ||      }| j                  ||      d   d   d   d   } | j                  |d   d   t        |fddit        |d	t        hfdd
t        hfdddt        hfd      S )Nprops	pagePropsdatavideovideosbrightcoveVideoLinkurl_transparentTr   summuryfeaturedImagenode	sourceUrl)r   r   r   )	_match_id_download_webpage_search_nextjs_data
url_resultr   r   strr   )selfr   video_idwebpage	next_datas        a/var/www/it7/html/youtubeDownloader/venv/lib/python3.12/site-packages/yt_dlp/extractor/drtalks.py_real_extractzDrTalksIE._real_extract'   s    >>#&((h7,,Wh?HUV\]^ef	th 56  9!C5) ()cU;-v{[MR'  	    N)__name__
__module____qualname__
_VALID_URL_TESTSr4    r5   r3   r	   r	      sp    IJp!*!NA#r[ %
 k!UAwH%#*
F<r5   r	   N)	
brightcover   commonr   utilsr   utils.traversalr   r	   r;   r5   r3   <module>r@      s    ' !  *, ,r5   