o
    ir                     @   s0   d dl mZ ddlmZmZ G dd deZdS )   )InfoExtractor   )ExtractorErrortraverse_objc                   @   s   e Zd ZdZdddidi ddddd	d
dddddededdgdedddddddedddddd d!d"d#d$d%d&d'dd(igd)gZd*d+ Zd,S )-IsraelNationalNewsIEz;https?://(?:www\.)?israelnationalnews\.com/news/(?P<id>\d+)z.https://www.israelnationalnews.com/news/354520id354520	info_dictjA84wQhVvg8titlezbEven CNN Host Is Shocked by How Bad Biden's Approval Ratings Have Gotten | DM CLIPS | Rubin Reportextmp4descriptionz$md5:b7325a3d00c7596337dc3ae37e32d35cchannelzThe Rubin Reportchannel_follower_countcomment_count
categorieszNews & Politics
like_countuploader_urlz'http://www.youtube.com/user/RubinReportuploader_idRubinReportavailabilitypublic
view_countduration   	thumbnailz:https://i.ytimg.com/vi_webp/jA84wQhVvg8/maxresdefault.webplive_statusnot_liveplayable_in_embedT    zcount:29UCJdKr0Bgd_5saZYqLCa9mngz8https://www.youtube.com/channel/UCJdKr0Bgd_5saZYqLCa9mng20220606)	age_limittags
channel_idchannel_urlupload_dateuploader)urlr	   playlistc                 C   sF   |  |}| d| |}t|d}|stddd| j||ddS )NzChttps://www.israelnationalnews.com/Generic/NewAPI/Item?type=0&Item=)Content2.content.attrssrcz%This article does not have any videosT)expectedYoutube)ie)	_match_id_download_jsonr   r   playlist_from_matches)selfr)   news_article_idarticle_jsonurls r9   W/home/ubuntu/.local/lib/python3.10/site-packages/yt_dlp/extractor/israelnationalnews.py_real_extract)   s   


z"IsraelNationalNewsIE._real_extractN)__name__
__module____qualname__
_VALID_URLint_TESTSr;   r9   r9   r9   r:   r      sd    	
"r   N)commonr   utilsr   r   r   r9   r9   r9   r:   <module>   s    