U
    ¦y^|  ã                   @   s,   d dl mZ ddlmZ G dd„ deƒZdS )é    )Úunicode_literalsé   )ÚInfoExtractorc                
   @   s>   e Zd ZdZdddddddd	d
dœddidœZdZdd„ ZdS )Ú	TheStarIEz;https?://(?:www\.)?thestar\.com/(?:[^/]+/)*(?P<id>.+)\.htmlz`http://www.thestar.com/life/2016/02/01/mankind-why-this-woman-started-a-men-s-skincare-line.htmlZ 2c62dd4db2027e35579fefb97a8b6554Z4732393888001Úmp4z6Mankind: Why this woman started a men's skin care linezBRobert Cribb talks to Young Lee, the founder of Uncle Peter's MAN.Z794267642001iJ¬¯VÚ20160201)ÚidÚextÚtitleÚdescriptionÚuploader_idÚ	timestampÚupload_dateÚskip_downloadT)ÚurlÚmd5Ú	info_dictÚparamszPhttp://players.brightcove.net/794267642001/default_default/index.html?videoId=%sc                 C   s8   |   |¡}|  ||¡}|  d|d¡}|  | j| d|¡S )Nz0mainartBrightcoveVideoId["\']?\s*:\s*["\']?(\d+)zbrightcove idÚBrightcoveNew)Ú	_match_idÚ_download_webpageÚ_search_regexÚ
url_resultÚBRIGHTCOVE_URL_TEMPLATE)Úselfr   Ú
display_idÚwebpageÚbrightcove_id© r   úOC:\Users\TaGoRe\Desktop\beinconnect-dl\binaries\youtube_dl\extractor\thestar.pyÚ_real_extract   s    
 þ þzTheStarIE._real_extractN)Ú__name__Ú
__module__Ú__qualname__Ú
_VALID_URLÚ_TESTr   r    r   r   r   r   r      s"   ù þôr   N)Ú
__future__r   Úcommonr   r   r   r   r   r   Ú<module>   s   