U
    $Pf                     @   s8   d dl mZ ddlmZ ddlmZ G dd deZdS )    )unicode_literals   )InfoExtractor)InternetVideoArchiveIEc                   @   s2   e Zd ZdZdddddddd	id
Zdd ZdS )VideoDetectiveIEz>https?://(?:www\.)?videodetective\.com/[^/]+/[^/]+/(?P<id>\d+)z6http://www.videodetective.com/movies/kick-ass-2/194487Z194487Zmp4z
Kick-Ass 2z$md5:c189d5b7280400630a1d3dd17eaa8d8a)idexttitledescriptionZskip_downloadT)urlZ	info_dictparamsc                 C   s*   |  |}d| }| jt|t dS )Nzcustomerid=69249&publishedid=)Zie)Z	_match_idZ
url_resultr   Z_build_json_urlZie_key)selfr   Zvideo_idquery r   G/tmp/pip-unpacked-wheel-7zdooeg3/youtube_dl/extractor/videodetective.py_real_extract   s    
zVideoDetectiveIE._real_extractN)__name__
__module____qualname__Z
_VALID_URLZ_TESTr   r   r   r   r   r      s    r   N)
__future__r   commonr   Zinternetvideoarchiver   r   r   r   r   r   <module>   s   