
    Ği(                     >    d dl mZ ddlmZmZ  G d de          ZdS )   )InfoExtractor   )
js_to_jsonmerge_dictsc                   >    e Zd ZdZdddddddd	d
dd	ddidgZd ZdS )NewsyIEz7https?://(?:www\.)?newsy\.com/stories/(?P<id>[^/?#$&]+)zIhttps://www.newsy.com/stories/nft-trend-leads-to-fraudulent-art-auctions/609d65125b086c24fb529312mp4z&NFT Art Auctions Have A Piracy Problemz$md5:971e52ab8bc97e50305475cde8284c83z*nft-trend-leads-to-fraudulent-art-auctionsi@`i. z;https://cdn.newsy.com/images/videos/x/1620927824_xyrrP4.jpg20210518)	idexttitledescription
display_id	timestampduration	thumbnailupload_dateskip_downloadT)url	info_dictparamsc                 ^   |                      |          }|                     ||          }|                     |                     d|d          |t                    }|                     ||d          }g i }}|                    d          rJ|                     |d         |          \  }}	|                    |           | 	                    ||	          }t          ||d         ||                    d          |                    d          |                    d	          ||d
          S )Nz$data-video-player\s?=\s?"({[^"]+})">dataF)fatalstreamr   headliner   image)r   r   r   r   r   formats	subtitles)	_match_id_download_webpage_parse_json_html_search_regexr   _search_json_ldget#_extract_m3u8_formats_and_subtitlesextend_merge_subtitlesr   )
selfr   r   webpage	data_jsonld_jsonr   r    fmtssubss
             [C:\Users\betacode\Desktop\descargarYoutube\venv\Lib\site-packages\yt_dlp/extractor/newsy.py_real_extractzNewsyIE._real_extract   s8   ^^C((
((j99$$T%<%<3Wf&F &FGQS]_ _	&&w
%&HH=="" 	?AA)HBUWabbJD$NN4   --i>>I7D/$]]:..!j11"w//"%
 %
   	    N)__name__
__module____qualname__
_VALID_URL_TESTSr1    r2   r0   r   r      sn        KJ [,=AF#V%

 

 #D)  F     r2   r   N)commonr   utilsr   r   r   r8   r2   r0   <module>r;      ss    ! ! ! ! ! !       ' ' ' ' 'm ' ' ' ' 'r2   