U
    g                     @   s@   d dl mZ d dlmZmZ G dd deZG dd deZdS )   )InfoExtractor)	YoutubeIEYoutubeTabIEc                   @   sj   e Zd ZdZdddddddd	d
gddededddedddddedddddddddddgZdd ZdS )BeatBumpVideoIEz6https?://beatbump\.(?:ml|io)/listen\?id=(?P<id>[\w-]+)z)https://beatbump.ml/listen?id=MgNrAu2pzNsZ 5ff3fff41d3935b9810a9731e485fe66ZMgNrAu2pzNsZmp4ZStephenz:https://i.ytimg.com/vi_webp/MgNrAu2pzNs/maxresdefault.webpz8https://www.youtube.com/channel/UC-pWHpBjdGG69N9mM2auIAAZ20190312ZMusicT   zVoyeur Girl    publicZnot_livez"it's too much love to know my dearz$md5:7ae382a65843d6df2685993e90a8628fzcount:11zUC-pWHpBjdGG69N9mM2auIAAz	count:100)idextZartistZ	thumbnailchannel_urlZupload_date
categoriesZplayable_in_embeddurationZ
like_countZ	alt_title
view_counttrackuploadertitlechannel_follower_countZ	age_limitavailabilityZlive_statusZalbumchannelZcomment_countdescriptiontagsZcreator
channel_idchannel_is_verifiedZheatmap)urlmd5	info_dictz)https://beatbump.io/listen?id=LDGZAprNGWor   Zonly_matchingc                 C   s   |  |}| d| t|S )Nz"https://music.youtube.com/watch?v=)	_match_id
url_resultr   selfr   Zid_ r!   =/tmp/pip-unpacked-wheel-q5ljy6pj/yt_dlp/extractor/beatbump.py_real_extract-   s    
zBeatBumpVideoIE._real_extractN__name__
__module____qualname__Z
_VALID_URLintZ_TESTSr#   r!   r!   r!   r"   r      sL   "&r   c                   @   s   e Zd ZdZddddeddg dd	d
gdddddiddddeddddddddd
gdddddidddeddddddg dddd
gdd dd!gZd"d# Zd$S )%BeatBumpPlaylistIEzMhttps?://beatbump\.(?:ml|io)/(?:release\?id=|artist/|playlist/)(?P<id>[\w-]+)z0https://beatbump.ml/release?id=MPREb_gTAcphH99wE2   Z)OLAK5uy_l1m0thk3g31NmIIz_vMIbWtyv7eZixlH0Zunlistedz0Album - Royalty Free Music Library V2 (50 Songs) Z20231110)r	   r   r   r   r   r   modified_datez'YouTube Music is not directly supported)r   Zplaylist_countr   expected_warningsz3https://beatbump.ml/artist/UC_aEa8K-EOJ3D6gOs7HcyNgr   ZflatplaylistTzUC_aEa8K-EOJ3D6gOs7HcyNgz*https://www.youtube.com/@NoCopyrightSoundsz8https://www.youtube.com/channel/UC_aEa8K-EOJ3D6gOs7HcyNgz@NoCopyrightSoundsZNoCopyrightSoundsz$md5:cd4fd53d81d363d05eee6c1b478b491azcount:65)r	   uploader_urlr   uploader_idr   r   r   r   r   r   r   r   )r   Zplaylist_mincountparamsr   r-   zAhttps://beatbump.ml/playlist/VLPLRBp0Fe2GpgmgoscNFLxNyBVSFVdYmFkqZ"PLRBp0Fe2GpgmgoscNFLxNyBVSFVdYmFkqz]Providing you with copyright free / safe music for gaming, live streaming, studying and more!u   NCS : All Releases 💿r   Z20231112)r	   r.   r   r   r   r/   r   r   r   r   r   r,   r   zAhttps://beatbump.io/playlist/VLPLFCHGavqRG-q_2ZhmgU2XB2--ZY6irT1cr   c                 C   s   |  |}| d| t|S )Nz!https://music.youtube.com/browse/)r   r   r   r   r!   r!   r"   r#   m   s    
z BeatBumpPlaylistIE._real_extractNr$   r!   r!   r!   r"   r)   2   sn   	9r)   N)commonr   Zyoutuber   r   r   r)   r!   r!   r!   r"   <module>   s   -