U
    g                     @   s,   d dl mZ d dlmZ G dd deZdS )   )InfoExtractor)NexxIEc                   @   sX   e Zd ZdZdddddddd	d
dgdddddddddddddddgZdd ZdS )FunkIEzphttps?://(?:(?:www|origin|play)\.)?funk\.net/(?:channel|playlist)/[^/?#]+/(?P<display_id>[0-9a-z-]+)-(?P<id>\d+)z^https://www.funk.net/channel/ba-793/die-lustigsten-instrumente-aus-dem-internet-teil-2-1155821Z 8610449476156f338761a75391b0017dZ1155821Zmp4z4Die LUSTIGSTEN INSTRUMENTE aus dem Internet - Teil 2z$md5:2a03b67596eda0d1b5125c299f45e953iEZZ20171229g     z@zUnited Creators PMB GmbHz>https://assets.nexx.cloud/media/75/56/79/3YKUSJN1LACN0CRxL.jpgz2die-lustigsten-instrumente-aus-dem-internet-teil-2z2Die LUSTIGSTEN INSTRUMENTE aus dem Internet Teil 2    zSeason 0z	Episode 0)idexttitledescription	timestampZupload_datedurationcastZ	thumbnail
display_idZ	alt_titleZseason_numberZseasonZepisode_numberZepisode)urlmd5Z	info_dictzShttps://www.funk.net/playlist/neuesteVideos/kameras-auf-dem-fusion-festival-1618699T)r   Zonly_matchingzbhttps://play.funk.net/playlist/neuesteVideos/george-floyd-wenn-die-polizei-toetet-der-fall-2004391c                 C   s,   |  | \}}dd| t ||dS )NZurl_transparentz	nexx:741:)_typer   ie_keyr   r   )Z_match_valid_urlgroupsr   r   )selfr   r   Znexx_id r   9/tmp/pip-unpacked-wheel-q5ljy6pj/yt_dlp/extractor/funk.py_real_extract#   s    zFunkIE._real_extractN)__name__
__module____qualname__Z
_VALID_URLZ_TESTSr   r   r   r   r   r      s8   r   N)commonr   Znexxr   r   r   r   r   r   <module>   s   