U
    y^                     @   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)JWPlatformIEc                
   @   sT   e Zd ZdZdddddddd	d
dddddddddd
ddddgZdd ZdS )BusinessInsiderIEzLhttps?://(?:[^/]+\.)?businessinsider\.(?:com|nl)/(?:[^/]+/)*(?P<id>[^/?#&]+)zYhttp://uk.businessinsider.com/how-much-radiation-youre-exposed-to-in-everyday-life-2016-6Z ffed3e1e12a6f950aa2f7d83851b497aZcjGDb0X9mp4zRBananas give you more radiation exposure than living next to a nuclear power plantz$md5:0175a3baf200dd8fa658f94cade841b3Z20160611ido\W)idexttitledescriptionupload_date	timestamp)urlmd5	info_dictz^https://www.businessinsider.nl/5-scientifically-proven-things-make-you-less-attractive-2017-7/Z 43f438dbc6da0b89f5ac42f68529d84aZ5zJwd4FKz<Deze dingen zorgen ervoor dat je minder snel een date scoortz$md5:2af8975825d38a4fed24717bbe51db49Z20170705i]YzQhttp://www.businessinsider.com/excel-index-match-vlookup-video-how-to-2015-2?IR=TT)r   only_matchingc                 C   s<   |  |}| ||}| d|d}| jd| t |dS )N)z#data-media-id=["\']([a-zA-Z0-9]{8})z!id=["\']jwplayer_([a-zA-Z0-9]{8})z%id["\']?\s*:\s*["\']?([a-zA-Z0-9]{8})z6(?:jwplatform\.com/players/|jwplayer_)([a-zA-Z0-9]{8})zjwplatform idzjwplatform:%s)ievideo_id)	_match_id_download_webpage_search_regex
url_resultr   ie_key)selfr   r   webpagejwplatform_id r   WC:\Users\TaGoRe\Desktop\beinconnect-dl\binaries\youtube_dl\extractor\businessinsider.py_real_extract%   s    
  zBusinessInsiderIE._real_extractN)__name__
__module____qualname__
_VALID_URL_TESTSr   r   r   r   r   r      s4   r   N)
__future__r   commonr   
jwplatformr   r   r   r   r   r   <module>   s   