
    V|h                     2    S SK Jr  S SKJr   " S S\5      rg)   )InfoExtractor)	YoutubeIEc            
       H    \ rS rSrSrSrSSSSSS	S
SSS.S.SSS./rS rSrg)UnityIE   FzKhttps?://(?:www\.)?unity3d\.com/learn/tutorials/(?:[^/]+/)*(?P<id>[^/?#&]+)zMhttps://unity3d.com/learn/tutorials/topics/animation/animate-anything-mecanimjWuNtik0C8Emp4z5Live Training 22nd September 2014 -  Animate Anythingz$md5:e54913114bd45a554c56cdde7669636eiM  UnityUnity3D20140926)idexttitledescriptiondurationuploaderuploader_idupload_date)url	info_dictzchttps://unity3d.com/learn/tutorials/projects/2d-ufo-tutorial/following-player-camera?playlist=25844T)r   only_matchingc                     U R                  U5      nU R                  X5      nU R                  SUS5      nU R                  U[        R
                  " 5       US9$ )Nz data-video-id="([_0-9a-zA-Z-]+)"z
youtube ID)ievideo_id)	_match_id_download_webpage_search_regex
url_resultr   ie_key)selfr   r   webpage
youtube_ids        P/home/james-whalen/.local/lib/python3.13/site-packages/yt_dlp/extractor/unity.py_real_extractUnityIE._real_extract   sX    >>#&((7''/\#
 zi.>.>.@8TT     N)	__name__
__module____qualname____firstlineno___WORKING
_VALID_URL_TESTSr$   __static_attributes__r'   r&   r#   r   r      sL    H_J^LA$%	
 uF"Ur&   r   N)commonr   youtuber   r   r'   r&   r#   <module>r2      s    ! Um Ur&   