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	Zd
d ZdS )EbaumsWorldIEz<https?://(?:www\.)?ebaumsworld\.com/videos/[^/]+/(?P<id>\d+)zIhttp://www.ebaumsworld.com/videos/a-giant-python-opens-the-door/83367677/Z83367677Zmp4zA Giant Python Opens The DoorzThis is how nightmares start...Z
jihadpizza)idexttitledescriptionuploader)urlZ	info_dictc                 C   sZ   |  |}| d| |}|dj}||dj||dj|dj|djdS )Nz(http://www.ebaumsworld.com/video/player/filer   r   imageusername)r   r   r	   r   Z	thumbnailr   )Z	_match_idZ_download_xmlfindtext)selfr	   Zvideo_idconfigZ	video_url r   @/tmp/pip-unpacked-wheel-q5ljy6pj/yt_dlp/extractor/ebaumsworld.py_real_extract   s    
 



zEbaumsWorldIE._real_extractN)__name__
__module____qualname__Z
_VALID_URLZ_TESTr   r   r   r   r   r      s   r   N)commonr   r   r   r   r   r   <module>   s   