U
    g3                     @   s,   d dl mZ ddlmZ G dd deZdS )   )InfoExtractor   )unescapeHTMLc                   @   s   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	dddddddddddd	ddd dd!d"d#d$d%d&dd	dd'd(dd)d)d*d+d,d-dd	dd.d/dd0d1d2d3d4d5d6d	dgZd7d8 Zd9S ):MirrorCoUKIEz7https?://(?:www\.)?mirror\.co\.uk/[/+[\w-]+-(?P<id>\d+)zKhttps://www.mirror.co.uk/tv/tv-news/love-island-fans-baffled-after-27163139ZvoyyS7SVZmp4z(Love Island: Gemma Owen enters the villazALove Island: Michael Owen's daughter Gemma Owen enters the villa.z?https://cdn.jwplayer.com/v2/media/voyyS7SV/poster.jpg?width=720Z27163139iebg     L@Z20220606)	idexttitledescriptionZ	thumbnail
display_id	timestampdurationZupload_date)urlZ	info_dictzVhttps://www.mirror.co.uk/3am/celebrity-news/michael-jacksons-son-blankets-new-25344890ZjyXpdvxpu?   Michael Jackson’s son Bigi calls for action on climate changez$md5:d39ceaba2b7a615b4ca6557e7bc40222z?https://cdn.jwplayer.com/v2/media/jyXpdvxp/poster.jpg?width=720Z25344890iag      L@Z20211101zZhttps://www.mirror.co.uk/sport/football/news/antonio-conte-next-tottenham-manager-25346042Zq6FkKa4pzHNuno sacked by Tottenham after fifth Premier League defeat of the seasonzWNuno Espirito Santo has been sacked as Tottenham boss after only four months in charge.z?https://cdn.jwplayer.com/v2/media/q6FkKa4p/poster.jpg?width=720Z25346042iag      D@zShttps://www.mirror.co.uk/3am/celebrity-news/johnny-depp-splashes-50k-curry-27160737ZIT0oa1nHz0Johnny Depp Leaves The Grand Hotel in Birminghamz1Johnny Depp Leaves The Grand Hotel in Birmingham.z?https://cdn.jwplayer.com/v2/media/IT0oa1nH/poster.jpg?width=720Z27160737ibg     @P@zJhttps://www.mirror.co.uk/tv/tv-news/love-islands-liam-could-first-27162602ZEaPr5Z2jz;Love Island: Davide reveals plot twist after receiving textz?https://cdn.jwplayer.com/v2/media/EaPr5Z2j/poster.jpg?width=720Z27162602ixbg      7@zOhttps://www.mirror.co.uk/news/uk-news/william-kate-sent-message-george-27160572ZygtceXIuzAPrince William and Kate arrive in Wales with George and CharlottezePrince William and Kate Middleton arrive in Wales with children Prince George and Princess Charlotte.z?https://cdn.jwplayer.com/v2/media/ygtceXIu/poster.jpg?width=720Z27160572in_bg     Z@Z20220604c                 C   sF   |  |}| ||}| jd|d|tdd }dd|d  d|d	S )
Nz,div\s+class="json-placeholder"\s+data-json="data)Ztransform_sourceZ	videoDataZurl_transparentzjwplatform:ZvideoIdZ
JWPlatform)_typer   Zie_keyr
   )Z	_match_idZ_download_webpageZ_search_jsonr   )selfr   r
   Zwebpager    r   ?/tmp/pip-unpacked-wheel-q5ljy6pj/yt_dlp/extractor/mirrorcouk.py_real_extractW   s    
   zMirrorCoUKIE._real_extractN)__name__
__module____qualname__Z
_VALID_URLZ_TESTSr   r   r   r   r   r      s   Pr   N)commonr   utilsr   r   r   r   r   r   <module>   s   