• Stars
    star
    1,178
  • Rank 39,705 (Top 0.8 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Musicdl: A lightweight music downloader written in pure python.

docs PyPI - Python Version PyPI license PyPI - Downloads PyPI - Downloads issue resolution open issues

Documents: https://musicdl.readthedocs.io/

Musicdl

A lightweight music downloader written in pure python.
You can star this repository to keep track of the project if it's helpful for you, thank you for your support.

Statement

This repository is created just for learning python(Commercial prohibition).
All the apis used in this repository are from public network. So, if you want to download the paid songs, 
please open a paid member on corresponding music platform by yourself (respect the music copyright please).
Finally, if there are any infringements, please contact me to delete this repository.

Support List

Source_EN Support Search? Support Download? Source_CN
QQMusic QQ音乐
Lizhi 荔枝FM
Yiting 一听音乐
Kuwo 酷我音乐
Kugou 酷狗音乐
Qianqian 千千音乐
Migu 咪咕音乐
JOOX JOOX音乐
Fivesing 5SING音乐
Netease 网易云音乐
Ximalaya 喜马拉雅

Practice with Musicdl

Project_EN Introduction Code Project_CN
musicdlgui click click 音乐下载器GUI界面
singerlyricsanalysis click click 歌手歌词分析
searchlyrics click click 歌词获取歌曲片段

Install

Pip install

run "pip install musicdl"

Source code install

(1) Offline
Step1: git clone https://github.com/CharlesPikachu/musicdl.git
Step2: cd musicdl -> run "python setup.py install"
(2) Online
run "pip install git+https://github.com/CharlesPikachu/musicdl.git@master"

Quick Start

Run by leveraging the API

from musicdl import musicdl

config = {'logfilepath': 'musicdl.log', 'savedir': 'downloaded', 'search_size_per_source': 5, 'proxies': {}}
target_srcs = [
    'kugou', 'kuwo', 'qqmusic', 'qianqian', 'fivesing',
    'netease', 'migu', 'joox', 'yiting',
]
client = musicdl.musicdl(config=config)
client.run(target_srcs)

Run by leveraging compiled file

Usage: musicdl [OPTIONS]

Options:
  --version               Show the version and exit.
  -k, --keyword TEXT      搜索的歌曲关键字, 若不指定, 则进入musicdl终端版
  -l, --logfilepath TEXT  日志文件保存的路径
  -p, --proxies TEXT      设置的代理
  -s, --savedir TEXT      下载的音乐保存路径
  -c, --count TEXT        在各个平台搜索时的歌曲搜索数量
  -t, --targets TEXT      指定音乐搜索的平台, 例如"migu,joox"
  --help                  Show this message and exit.

Screenshot

img

Projects in Charles_pikachu

  • Games: Create interesting games in pure python.
  • DecryptLogin: APIs for loginning some websites by using requests.
  • Musicdl: A lightweight music downloader written in pure python.
  • Videodl: A lightweight video downloader written in pure python.
  • Pytools: Some useful tools written in pure python.
  • PikachuWeChat: Play WeChat with itchat-uos.
  • Pydrawing: Beautify your image or video.
  • ImageCompressor: Image compressors written in pure python.
  • FreeProxy: Collecting free proxies from internet.
  • Paperdl: Search and download paper from specific websites.
  • Sciogovterminal: Browse "The State Council Information Office of the People's Republic of China" in the terminal.
  • CodeFree: Make no code a reality.
  • DeepLearningToys: Some deep learning toys implemented in pytorch.
  • DataAnalysis: Some data analysis projects in charles_pikachu.
  • Imagedl: Search and download images from specific websites.
  • Pytoydl: A toy deep learning framework built upon numpy.
  • NovelDL: Search and download novels from some specific websites.

Citation

If you use this project in your research, please cite this project.

@misc{musicdl2020,
    author = {Zhenchao Jin},
    title = {Musicdl: A lightweight music downloader written in pure python},
    year = {2020},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://github.com/CharlesPikachu/musicdl}},
}

More

WeChat Official Accounts

Charles_pikachu
img

More Repositories

1

Games

Games: Create interesting games in pure python.
Python
4,970
star
2

DecryptLogin

DecryptLogin: APIs for loginning some websites by using requests.
Python
2,817
star
3

pytools

Pytools: Some useful tools written by pure python.
Python
950
star
4

AIGames

use AI to play some games.
Python
591
star
5

videodl

Videodl: A lightweight video downloader written by pure python.
Python
412
star
6

pydrawing

Pydrawing: Beautify your image or video.
Python
146
star
7

pikachuwechat

PikachuWeChat: Play WeChat with itchat-uos.
Python
114
star
8

freeproxy

FreeProxy: Collecting free proxies from internet.
Python
99
star
9

YSLAO

ECCV2022 - You Should Look at All Objects
Python
71
star
10

mcibi

ICCV2021 - Mining Contextual Information Beyond Image for Semantic Segmentation
Python
58
star
11

deeplearningtoys

DeepLearningToys: Some deep learning toys implemented in pytorch.
Python
49
star
12

YOLO

A pytorch implementation of YOLOv1-v3
Python
48
star
13

SeleniumLogin

Login some website using selenium.
Python
40
star
14

codefree

CodeFree: Make no code a reality.
Python
39
star
15

paperdl

Paperdl: Search and download paper from specific websites.
Python
39
star
16

pytoydl

Pytoydl: A toy deep learning framework built upon numpy.
Python
30
star
17

hackcaptcha

provide api functions for captcha recognition.
Python
26
star
18

VideoGan

Implementation of Generating Videos with Scene Dynamics
Python
21
star
19

imagedl

Imagedl: Search and download images from specific websites.
Python
20
star
20

CharlesPikachu

profile
13
star
21

dataanalysis

DataAnalysis: Some data analysis projects in charles_pikachu
Python
11
star
22

algorithm

algorithm practice
Python
11
star
23

imagecompressor

ImageCompressor: Image compressors written by pure python.
Python
9
star
24

noveldl

NovelDL: Search and download novels from some specific websites.
Python
9
star
25

CharlesFace

Face Classify and Detection
Python
7
star
26

constellation

Constellation: Beautiful starry sky written in js.
JavaScript
7
star
27

Classical-Image-Processing-Algorithms

Implementations of some classical image processing algorithms using matlab.
MATLAB
7
star
28

GAN

Implement some examples related to GAN
Python
3
star
29

charlespikachu.github.io

my homepage
HTML
3
star
30

sciogovterminal

Sciogovterminal: Browse "The State Council Information Office of the People's Republic of China" in the terminal.
Python
3
star