
    VGh'                     :    d dl mZ ddlmZmZmZ  G d de      Zy)   )InfoExtractor   )determine_extint_or_nonemimetype2extc            
       2    e Zd ZdZdddddddd	d
ddZd Zy)
TweakersIEz(https?://tweakers\.net/video/(?P<id>\d+)zNhttps://tweakers.net/video/9926/new-nintendo-3ds-xl-op-alle-fronten-beter.html fe73e417c093a788e0160c4025f88b159926mp4z+New Nintendo 3DS XL - Op alle fronten beterz$md5:3789b21fed9c0219e9bcaacd43fab280zre:^https?://.*\.jpe?g$i  s7JeEm)idexttitledescription	thumbnaildurationuploader_id)urlmd5	info_dictc           
         | j                  |      }| j                  d| d|      d   d   }|d   }g }|j                  di       j                  dg       D ]  }|j                  d      }t        |j                  d	            }t        |j                  d
            }	|j                  dg       D ]T  }
|
j                  d      }|st	        |
j                  d            xs t        |      }|j                  ||||	|d       V  |||j                  d      |j                  d      t        |j                  d            |j                  d      |dS )Nz&https://tweakers.net/video/s1playlist/z/1920/1080/playlist.jsonitems    r   	locationsprogressivelabelwidthheightsourcessrctype)	format_idr   r   r   r   r   posterr   account)r   r   r   r   r   r   formats)	_match_id_download_jsongetr   r   r   append)selfr   video_id
video_datar   r&   locationr#   r   r   source
source_urlr   s                b/var/www/it7/html/youtubeDownloader/venv/lib/python3.12/site-packages/yt_dlp/extractor/tweakers.py_real_extractzTweakersIE._real_extract   sa   >>#&((4XJ>VW "
 7#"{B7;;M2N 	H W-IW 56E h!78F",,y"5 #ZZ.
!"6::f#56S-
:S!*%"$  		$ %>>-8#1#JNN:$>?%>>)4
 	
    N)__name__
__module____qualname__
_VALID_URL_TESTr2    r3   r1   r	   r	   	   s3    <J_1BA3#
E"
r3   r	   N)commonr   utilsr   r   r   r	   r9   r3   r1   <module>r<      s    ! 2
 2
r3   