
    VGh                      j    d dl mZ ddlmZmZmZ  G d de      ZdZ G d de      Z G d	 d
e      Z	y)   )InfoExtractor   )ExtractorErrorclasspropertyremove_startc                   @     e Zd ZdZdZe fd       Zed        Z xZS )UnsupportedInfoExtractorF c                 ,    t        t        |   d      S )NKnown)r   superIE_NAME)cls	__class__s    e/var/www/it7/html/youtubeDownloader/venv/lib/python3.12/site-packages/yt_dlp/extractor/unsupported.pyr   z UnsupportedInfoExtractor.IE_NAME	   s    EGOW55    c                 @    ddj                  | j                         dS )Nzhttps?://(?:www\.)?(?:|))joinURLS)r   s    r   
_VALID_URLz#UnsupportedInfoExtractor._VALID_URL   s    (#(();(<A>>r   )	__name__
__module____qualname__IE_DESCr   r   r   r   __classcell__)r   s   @r   r	   r	      s3    GD6 6 ? ?r   r	   z
       c                   T   e Zd ZdZdZg 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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Zd$ Zy%)&
KnownDRMIEzSites that are known to use DRM for all their videos

    Add to this list only if:
    * You are reasonably certain that the site uses DRM for ALL their videos
    * Multiple users have asked about this site on github/discord
    )zplay\.hbomax\.comzchannel(?:4|5)\.comzpeacocktv\.comz(?:[\w\.]+\.)?disneyplus\.comz2open\.spotify\.com/(?:track|playlist|album|artist)ztvnz\.co\.nzzoneplus\.chz artstation\.com/learning/coursesz
philo\.comz(?:[\w\.]+\.)?mech-plus\.comz
aha\.videoz	mubi\.comzvootkids\.comznowtv\.it/watchztv\.apple\.comzprimevideo\.comz	hulu\.comzresource\.inkryptvideos\.comzjoyn\.dez amazon\.(?:\w{2}\.)?\w+/gp/videozmusic\.amazon\.(?:\w{2}\.)?\w+z(?:watch|front)\.njpwworld\.comzqub\.ca/vraiz(?:beta\.)?crunchyroll\.comz	viki\.comzdeezer\.comzchttps://peacocktv.com/watch/playback/vod/GMO_00000000073159_01/f9d03003-eb04-3c7f-a7b6-a83ab7eb55bcTurlonly_matchingzEhttps://www.channel4.com/programmes/gurren-lagann/on-demand/69960-001zKhttps://www.channel5.com/show/uk-s-strongest-man-2021/season-2021/episode-1z!https://hsesn.apps.disneyplus.comzhttps://www.disneyplus.comz https://open.spotify.com/artist/zhttps://open.spotify.com/track/z>https://www.tvnz.co.nz/shows/ice-airport-alaska/episodes/s1-e1z#https://www.oneplus.ch/play/1008188zzhttps://www.artstation.com/learning/courses/dqQ/character-design-masterclass-with-serge-birault/chapters/Rxn3/introductionzFhttps://www.philo.com/player/player/vod/Vk9EOjYwODU0ODg5OTY0ODY0OTQ5NAzNhttps://www.mech-plus.com/player/24892/stream?assetType=episodes&playlist_id=6z7https://watch.mech-plus.com/details/25240?playlist_id=6z,https://www.aha.video/player/movie/lucky-manz'https://mubi.com/films/the-night-doctorzGhttps://www.vootkids.com/movies/chhota-bheem-the-rise-of-kirmada/764459zhttps://www.nowtv.it/watch/home/asset/and-just-like-that/skyserie_f8fe979772e8437d8a61ab83b6d293e9/seasons/1/episodes/8/R_126182_HDzhhttps://tv.apple.com/it/show/loot---una-fortuna/umc.cmc.5erbujil1mpazuerhr1udnk45?ctx_brand=tvs.sbd.4000zGhttps://www.joyn.de/play/serien/clannad/1-1-wo-die-kirschblueten-fallenz,https://music.amazon.co.jp/albums/B088Y368TKz4https://www.amazon.co.jp/gp/video/detail/B09X5HBYRS/zfhttps://www.primevideo.com/region/eu/detail/0H3DDB4KBJFNDCKKLHNRLRLVKQ/ref=atv_br_def_r_br_c_unkc_1_10zqhttps://resource.inkryptvideos.com/v2-a83ns52/iframe/index.html#video_id=7999ea0f6e03439eb40d056258c2d736&otp=xxxzFhttps://www.hulu.com/movie/anthem-6b25fac9-da2b-45a3-8e09-e4156b0471ccz@https://watch.njpwworld.com/player/36447/series?assetType=seriesz2https://front.njpwworld.com/p/s_series_00563_16_bszjhttps://www.qub.ca/vrai/l-effet-bocuse-d-or/saison-1/l-effet-bocuse-d-or-saison-1-bande-annonce-1098225063z9https://www.crunchyroll.com/watch/GY2P1Q98Y/to-the-futurezJhttps://beta.crunchyroll.com/pt-br/watch/G8WUN8VKP/the-ruler-of-conspiracyzIhttps://www.viki.com/videos/1175236v-choosing-spouse-by-lottery-episode-1z(http://www.deezer.com/playlist/176747451c                    t        d| j                  j                  d| j                  j                  j                         dt
         d| j                  j                  d| j                  j                  j                         dd      )	Nz;The requested site is known to use DRM protection. It will NOTz be supported.zPlease DO NOTzL open an issue, unless you have evidence that the video is not DRM protectedTexpected)r   _downloader_format_errStylesEMPHASISLFERRORselfr!   s     r   _real_extractzKnownDRMIE._real_extract   s    ''33E4;K;K;R;R;[;[\]]klnkod&&228T=M=M=T=T=Z=Z[\ ]KK VZ	[ 	[r   Nr   r   r   __doc__r   _TESTSr0   r
   r   r   r   r      s   D:qt q W	q ]q 4q  -q& 2%q, 1+q4 P1q< 59qD LAqL XIqT `QqZ IYqb >_qj 9gqr Yoqz UwqB zqJ YGqR >OqZ FWqb x_qj Cgqr Xoqz Rwq@ DqF |EqL KKqR \QqX [Wq^ :]qFf[r   r   c                   .    e Zd ZdZdZddddddgZd Zy)	KnownPiracyIEzSites that have been deemed to be piracy

    In order for this to not end up being a catalog of piracy sites,
    only sites that were once supported should be added to this list
    )zdood\.(?:to|watch|so|pm|wf|re)zviewsb\.comzfilemoon\.sxzhentai\.animestigma\.comzthisav\.comzgounlimited\.tozhighstream\.tvzuqload\.comzvedbam\.xyzzvadbam\.netvidlo\.uszwolfstream\.tvzxvideosharing\.comz(?:\w+\.)?viidshar\.comzsxyprn\.comz	jable\.tvz91porn\.comzeinthusan\.(?:tv|com|ca)zyourupload\.comzhttp://dood.to/e/5s1wmbdacezbTr    zhttps://thisav.com/en/termsc                     t        dt         | j                  j                  d| j                  j                  j
                         dd      )NzaThis website is no longer supported since it has been determined to be primarily used for piracy.r%   z open issues for itTr&   )r   r,   r(   r)   r*   r-   r.   s     r   r0   zKnownPiracyIE._real_extract   sQ    opros++Hd6F6F6M6M6S6STUUhjtxz 	zr   Nr1   r
   r   r   r5   r5      s5    D0 / -Fzr   r5   N)
commonr   utilsr   r   r   r	   r,   r   r5   r
   r   r   <module>r9      sB    ! ? ?
?} 
? ][) ][@)z, )zr   