Skip to main content

从 Deezer 和 Spotify 下载歌曲、专辑和播放列表。

项目描述

pydeezloader

创建此项目是为了从 Deezer 下载带有 Spotify 或 Deezer 链接的歌曲、专辑或播放列表。

免责声明

  • 我不对其他人使用此程序负责。
  • 我不建议您这样做非法或违反 Deezer 的服务条款。
  • 操作系统支持

    Linux 支持 macOS 支持 视窗支持

  • 安装

$ pip install git+https://github.com/TheDeezLoader/pyDeezloader.git

命令行界面

$ deez-dw -h
usage: deez-dw [-h] [-l LINK] [-s SONG] [-a ARTIST] [-o OUTPUT]
                 [-q QUALITY] [-rq RECURSIVE_QUALITY]
                 [-rd RECURSIVE_DOWNLOAD] [-g NOT_GUI] [-z ZIP]
                 setting

选项

-h, --help            show this help message and exit
-l LINK, --link LINK  Deezer or Spotify link for download
-s SONG, --song SONG  song name
-a ARTIST, --artist ARTIST
                   	artist song
-o OUTPUT, --output OUTPUT
                    Output folder
-q QUALITY, --quality QUALITY
                    Select download quality between FLAC, 320, 256, 128
-rq RECURSIVE_QUALITY, --recursive_quality RECURSIVE_QUALITY
                    If choosen quality doesn't exist download with best
                    possible quality (True or False)
-rd RECURSIVE_DOWNLOAD, --recursive_download RECURSIVE_DOWNLOAD
                    If the song has already downloaded skip (True or
                    False)
-g NOT_GUI, --not_gui NOT_GUI
                    Show the little not_gui (True or False)
-z ZIP, --zip ZIP     If is an album or playlist link create a zip archive
                    (True or False)

网页界面

$ deez-web

设置

[login]
token = deezer_arl_token

仅对 deez-dw 和 deez-web 使用 setting.ini 文件

图书馆

初始化

import pydeezloader

download = pydeezloader.Login("YOUR ARL TOKEN")

下载歌曲

通过 Spotify 链接下载曲目

download.download_trackspo(
	"Insert the Spotify link of the track to download",
	output = "Output folder, ending with /",
	quality = "MP3_320",
	recursive_quality = False,
	recursive_download = False
	not_interface = False
)
#quality can be FLAC, MP3_320, MP3_256 or MP3_128
#recursive_quality=True if selected quality isn't avalaible download with best quality possible
#recursive_download=True if song has already been downloaded don't ask for download it again
#not_interface=False if you want too see no download progress

通过 Deezer 链接下载曲目

download.download_trackdee(
	"Insert the Deezer link of the track to download",
	output = "Output folder, ending with /",
	quality = "MP3_320",
	recursive_quality = False,
	recursive_download = False,
	not_interface = False
)
#quality can be FLAC, MP3_320, MP3_256 or MP3_128
#recursive_quality = True if selected quality isn't avalaible download with best quality possible
#recursive_download = True if song has already been downloaded don't ask for download it again
#not_interface = True if you want too see no download progress

下载专辑

通过 Spotify 链接下载专辑

download.download_albumspo(
	"Insert the Spotify link of the album to download",
	output = "Output folder, ending with /",
	quality = "MP3_320",
	recursive_quality = True,
	recursive_download = True,
	not_interface = False,
	zips = False
)
#quality can be FLAC, MP3_320, MP3_256 or MP3_128
#recursive_quality = True if selected quality isn't avalaible download with best quality possible
#recursive_download = True if song has already been downloaded don't ask for download it again
#not_interface = True if you want too see no download progress
#zips = True create a zip with all album songs

从 Deezer 链接下载专辑

download.download_albumdee(
	"Insert the Deezer link of the album to download",
	output = "Output folder, ending with /",
	quality = "MP3_320",
	recursive_quality = True,
	recursive_download = True,
	not_interface = False,
	zips = False
)
#quality can be FLAC, MP3_320, MP3_256 or MP3_128
#recursive_quality = True if selected quality isn't avalaible download with best quality possible
#recursive_download = True if song has already been downloaded don't ask for download it again
#not_interface = True if you want too see no download progress
#zips = True create a zip with all album songs

下载播放列表

通过 Spotify 链接下载播放列表

download.download_playlistspo(
	"Insert the Spotify link of the album to download",
	output = "Output folder, ending with /",
	quality = "MP3_320",
	recursive_quality = True,
	recursive_download = True,
	not_interface = False,
	zips = False
)
#quality can be FLAC, MP3_320, MP3_256 or MP3_128
#recursive_quality = True if selected quality isn't avalaible download with best quality possible
#recursive_download = True if song has already been downloaded don't ask for download it again
#not_interface = True if you want too see no download progress
#zips = True create a zip with all album songs

从 Deezer 链接下载播放列表

download.download_playlistdee(
	"Insert the Deezer link of the album to download",
	output = "Output folder, ending with /",
	quality = "MP3_320",
	recursive_quality = True,
	recursive_download = True,
	not_interface = False,
	zips = False
)
#quality can be FLAC, MP3_320, MP3_256 or MP3_128
#recursive_quality = True if selected quality isn't avalaible download with best quality possible
#recursive_download = True if song has already been downloaded don't ask for download it again
#not_interface = True if you want too see no download progress
#zips = True create a zip with all album songs

下载名称

按名称下载

download.download_name(
	artist = "Eminem",
	song = "Berzerk",
	output = "Output folder, ending with /",
	quality = "MP3_320",
	recursive_quality = False,
	recursive_download = False,
	not_interface = False
)
#quality can be FLAC, MP3_320, MP3_256 or MP3_128
#recursive_quality = True if selected quality isn't avalaible download with best quality possible
#recursive_download = True if song has already been downloaded don't ask for download it again
#not_interface = True if you want too see no download progress

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

pydeezloader-1.2.tar.gz (91.1 kB 查看哈希

已上传 source

内置分布

pydeezloader-1.2-py2.py3-none-any.whl (95.4 kB 查看哈希

已上传 py2 py3