o
    i3                     @   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-27163139voyyS7SV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=72027163139iebg     L@20220606)	idexttitledescription	thumbnail
display_id	timestampdurationupload_date)url	info_dictzVhttps://www.mirror.co.uk/3am/celebrity-news/michael-jacksons-son-blankets-new-25344890jyXpdvxpu?   Michael Jackson’s son Bigi calls for action on climate changez$md5:d39ceaba2b7a615b4ca6557e7bc40222z?https://cdn.jwplayer.com/v2/media/jyXpdvxp/poster.jpg?width=72025344890iag      L@20211101zZhttps://www.mirror.co.uk/sport/football/news/antonio-conte-next-tottenham-manager-25346042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=72025346042iag      D@zShttps://www.mirror.co.uk/3am/celebrity-news/johnny-depp-splashes-50k-curry-27160737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=72027160737ibg     @P@zJhttps://www.mirror.co.uk/tv/tv-news/love-islands-liam-could-first-27162602EaPr5Z2jz;Love Island: Davide reveals plot twist after receiving textz?https://cdn.jwplayer.com/v2/media/EaPr5Z2j/poster.jpg?width=72027162602ixbg      7@zOhttps://www.mirror.co.uk/news/uk-news/william-kate-sent-message-george-27160572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=72027160572in_bg     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)transform_source	videoDataurl_transparentzjwplatform:videoId
JWPlatform)_typer   ie_keyr   )	_match_id_download_webpage_search_jsonr   )selfr   r   webpager!    r.   O/home/ubuntu/.local/lib/python3.10/site-packages/yt_dlp/extractor/mirrorcouk.py_real_extractW   s   
zMirrorCoUKIE._real_extractN)__name__
__module____qualname__
_VALID_URL_TESTSr0   r.   r.   r.   r/   r      s    Pr   N)commonr   utilsr   r   r.   r.   r.   r/   <module>   s    