U
    y^L                     @   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   )
js_to_jsonc                	   @   s2   e Zd ZdZdddddddd	d
dZdd ZdS )ScreencastOMaticIEz;https?://screencast-o-matic\.com/watch/(?P<id>[0-9a-zA-Z]+)z.http://screencast-o-matic.com/watch/c2lD3BeOPlZ 483583cb80d92588f15ccbedd90f0c18Z
c2lD3BeOPlmp4z!Welcome to 3-4 Philosophy @ DECV!zre:^https?://.*\.jpg$zYas the title says! also: some general info re 1) VCE philosophy and 2) distance learning.gS㥛w@)idexttitle	thumbnaildescriptionduration)urlmd5	info_dictc                 C   s`   |  |}| ||}| j| d|d|td}| j||dd}|| || |d |S )Nz/(?s)jwplayer\('mp4Player'\).setup\((\{.*?\})\);z
setup code)transform_sourceF)require_title)r   r   )		_match_id_download_webpage_parse_json_search_regexr   _parse_jwplayer_dataupdate_og_search_title_og_search_description)selfr   video_idwebpagejwplayer_datar    r    XC:\Users\TaGoRe\Desktop\beinconnect-dl\binaries\youtube_dl\extractor\screencastomatic.py_real_extract   s"    
   z ScreencastOMaticIE._real_extractN)__name__
__module____qualname__
_VALID_URL_TESTr"   r    r    r    r!   r      s   r   N)
__future__r   commonr   utilsr   r   r    r    r    r!   <module>   s   