U
    g                     @   s    d dl mZ G dd deZdS )   )InfoExtractorc                   @   s:   e Zd ZdZdddddddd	d
dddgZdd ZdS )ThisAmericanLifeIEzehttps?://(?:www\.)?thisamericanlife\.org/(?:radio-archives/episode/|play_full\.php\?play=)(?P<id>\d+)zVhttp://www.thisamericanlife.org/radio-archives/episode/487/harper-high-school-part-oneZ 8f7d2da8926298fdfca2ee37764c11ceZ487m4az!487: Harper High School, Part Onez$md5:ee40bdf3fb96174a9027f76dbecea655zre:^https?://.*\.jpg$)idexttitledescription	thumbnail)urlmd5Z	info_dictz6http://www.thisamericanlife.org/play_full.php?play=487T)r
   Zonly_matchingc                 C   sb   |  |}| d| |}|d| d| dddddd	| jd
|ddd| d|d| |d
S )Nz7http://www.thisamericanlife.org/radio-archives/episode/z#http://stream.thisamericanlife.org/z/stream/z	_64k.m3u8Zm3u8_nativer   Zaacnone@   ztwitter:titler   T)fatalr   )
r   r
   protocolr   ZacodecZvcodecZabrr   r   r	   )Z	_match_idZ_download_webpageZ_html_search_metaZ_og_search_thumbnail)selfr
   Zvideo_idZwebpage r   E/tmp/pip-unpacked-wheel-q5ljy6pj/yt_dlp/extractor/thisamericanlife.py_real_extract   s     
 z ThisAmericanLifeIE._real_extractN)__name__
__module____qualname__Z
_VALID_URLZ_TESTSr   r   r   r   r   r      s   r   N)commonr   r   r   r   r   r   <module>   s   