{"id":15028476,"url":"https://github.com/charlespikachu/musicdl","last_synced_at":"2025-05-15T16:02:45.050Z","repository":{"id":38150135,"uuid":"138796422","full_name":"CharlesPikachu/musicdl","owner":"CharlesPikachu","description":"Musicdl: A lightweight music downloader written in pure python.","archived":false,"fork":false,"pushed_at":"2023-02-22T14:24:44.000Z","size":15247,"stargazers_count":1175,"open_issues_count":5,"forks_count":270,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-10-29T17:50:44.582Z","etag":null,"topics":["163music","downloader","joox","kugou-music","kuwo","migu","music","music-downloader","netease","netease-cloud-music","qianqian-music","qqmusic","tencent","xiami"],"latest_commit_sha":null,"homepage":"https://musicdl.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CharlesPikachu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":"docs/Support.md","governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"patreon":"CharlesPikachu","ko_fi":"charlespikachu","custom":"https://github.com/CharlesPikachu/Games/tree/master/.github/pictures/alipay.JPG"}},"created_at":"2018-06-26T21:38:42.000Z","updated_at":"2024-10-21T04:45:31.000Z","dependencies_parsed_at":"2024-02-15T00:48:53.390Z","dependency_job_id":null,"html_url":"https://github.com/CharlesPikachu/musicdl","commit_stats":{"total_commits":174,"total_committers":2,"mean_commits":87.0,"dds":0.09195402298850575,"last_synced_commit":"ae213b2e5867fa12a6fa2789e24ea792aab38540"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlesPikachu%2Fmusicdl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlesPikachu%2Fmusicdl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlesPikachu%2Fmusicdl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CharlesPikachu%2Fmusicdl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CharlesPikachu","download_url":"https://codeload.github.com/CharlesPikachu/musicdl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247730068,"owners_count":20986404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["163music","downloader","joox","kugou-music","kuwo","migu","music","music-downloader","netease","netease-cloud-music","qianqian-music","qqmusic","tencent","xiami"],"created_at":"2024-09-24T20:08:25.052Z","updated_at":"2025-04-07T21:11:51.779Z","avatar_url":"https://github.com/CharlesPikachu.png","language":"Python","funding_links":["https://patreon.com/CharlesPikachu","https://ko-fi.com/charlespikachu","https://github.com/CharlesPikachu/Games/tree/master/.github/pictures/alipay.JPG"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./docs/logo.png\" width=\"600\"/\u003e\n\u003c/div\u003e\n\u003cbr /\u003e\n\n[![docs](https://img.shields.io/badge/docs-latest-blue)](https://musicdl.readthedocs.io/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/musicdl)](https://pypi.org/project/musicdl/)\n[![PyPI](https://img.shields.io/pypi/v/musicdl)](https://pypi.org/project/musicdl)\n[![license](https://img.shields.io/github/license/CharlesPikachu/musicdl.svg)](https://github.com/CharlesPikachu/musicdl/blob/master/LICENSE)\n[![PyPI - Downloads](https://pepy.tech/badge/musicdl)](https://pypi.org/project/musicdl/)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/musicdl?style=flat-square)](https://pypi.org/project/musicdl/)\n[![issue resolution](https://isitmaintained.com/badge/resolution/CharlesPikachu/musicdl.svg)](https://github.com/CharlesPikachu/musicdl/issues)\n[![open issues](https://isitmaintained.com/badge/open/CharlesPikachu/musicdl.svg)](https://github.com/CharlesPikachu/musicdl/issues)\n\nDocuments: https://musicdl.readthedocs.io/\n\n\n# Musicdl\n```\nA lightweight music downloader written in pure python.\nYou can star this repository to keep track of the project if it's helpful for you, thank you for your support.\n```\n\n\n# Statement\n```\nThis repository is created just for learning python(Commercial prohibition).\nAll the apis used in this repository are from public network. So, if you want to download the paid songs, \nplease open a paid member on corresponding music platform by yourself (respect the music copyright please).\nFinally, if there are any infringements, please contact me to delete this repository.\n```\n\n\n# Support List\n|  Source_EN                                |   Support Search?  |  Support Download?   |  Source_CN           |\n|  :----:                                   |   :----:           |  :----:              |  :----:              |\n|  [QQMusic](https://y.qq.com/)             |   ✓                |  ✓                   |  QQ音乐              |\n|  [Lizhi](http://m.lizhi.fm)               |   ✓                |  ✓                   |  荔枝FM              |\n|  [Yiting](https://h5.1ting.com/)          |   ✓                |  ✓                   |  一听音乐            |\n|  [Kuwo](http://yinyue.kuwo.cn/)           |   ✓                |  ✓                   |  酷我音乐            |\n|  [Kugou](http://www.kugou.com/)           |   ✓                |  ✓                   |  酷狗音乐            |\n|  [Qianqian](http://music.taihe.com/)      |   ✓                |  ✓                   |  千千音乐            |\n|  [Migu](http://www.migu.cn/)              |   ✓                |  ✓                   |  咪咕音乐            |\n|  [JOOX](https://www.joox.com/limits)      |   ✓                |  ✓                   |  JOOX音乐            |\n|  [Fivesing](http://5sing.kugou.com/)      |   ✓                |  ✓                   |  5SING音乐           |\n|  [Netease](https://music.163.com/)        |   ✓                |  ✓                   |  网易云音乐          |\n|  [Ximalaya](https://www.ximalaya.com/)    |   ✓                |  ✓                   |  喜马拉雅            |\n\n\n# Practice with Musicdl\n|  Project_EN                           |   Introduction                                               |  Code                                         |  Project_CN          |\n|  :----:                               |   :----:                                                     |  :----:                                       |  :----:              |\n|  musicdlgui                           |   [click](https://mp.weixin.qq.com/s/fN1ORyI6lzQFqxf6Zk1oIg) |  [click](./examples/musicdlgui)               |  音乐下载器GUI界面   |\n|  singerlyricsanalysis                 |   [click](https://mp.weixin.qq.com/s/I8Dy7CoM2ThnSpjoUaPtig) |  [click](./examples/singerlyricsanalysis)     |  歌手歌词分析        |\n|  searchlyrics                         |   [click](https://mp.weixin.qq.com/s/Vmc1IhuhMJ6C5vBwBe43Pg) |  [click](./examples/searchlyrics)             |  歌词获取歌曲片段    |\n\n\n# Install\n#### Pip install\n```\nrun \"pip install musicdl\"\n```\n#### Source code install\n```sh\n(1) Offline\nStep1: git clone https://github.com/CharlesPikachu/musicdl.git\nStep2: cd musicdl -\u003e run \"python setup.py install\"\n(2) Online\nrun \"pip install git+https://github.com/CharlesPikachu/musicdl.git@master\"\n```\n\n\n# Quick Start\n#### Run by leveraging the API\n```python\nfrom musicdl import musicdl\n\nconfig = {'logfilepath': 'musicdl.log', 'savedir': 'downloaded', 'search_size_per_source': 5, 'proxies': {}}\ntarget_srcs = [\n    'kugou', 'kuwo', 'qqmusic', 'qianqian', 'fivesing',\n    'netease', 'migu', 'joox', 'yiting',\n]\nclient = musicdl.musicdl(config=config)\nclient.run(target_srcs)\n```\n#### Run by leveraging compiled file\n```\nUsage: musicdl [OPTIONS]\n\nOptions:\n  --version               Show the version and exit.\n  -k, --keyword TEXT      搜索的歌曲关键字, 若不指定, 则进入musicdl终端版\n  -l, --logfilepath TEXT  日志文件保存的路径\n  -p, --proxies TEXT      设置的代理\n  -s, --savedir TEXT      下载的音乐保存路径\n  -c, --count TEXT        在各个平台搜索时的歌曲搜索数量\n  -t, --targets TEXT      指定音乐搜索的平台, 例如\"migu,joox\"\n  --help                  Show this message and exit.\n```\n\n\n# Screenshot\n![img](./docs/screenshot.gif)\n\n\n# Projects in Charles_pikachu\n- [Games](https://github.com/CharlesPikachu/Games): Create interesting games in pure python.\n- [DecryptLogin](https://github.com/CharlesPikachu/DecryptLogin): APIs for loginning some websites by using requests.\n- [Musicdl](https://github.com/CharlesPikachu/musicdl): A lightweight music downloader written in pure python.\n- [Videodl](https://github.com/CharlesPikachu/videodl): A lightweight video downloader written in pure python.\n- [Pytools](https://github.com/CharlesPikachu/pytools): Some useful tools written in pure python.\n- [PikachuWeChat](https://github.com/CharlesPikachu/pikachuwechat): Play WeChat with itchat-uos.\n- [Pydrawing](https://github.com/CharlesPikachu/pydrawing): Beautify your image or video.\n- [ImageCompressor](https://github.com/CharlesPikachu/imagecompressor): Image compressors written in pure python.\n- [FreeProxy](https://github.com/CharlesPikachu/freeproxy): Collecting free proxies from internet.\n- [Paperdl](https://github.com/CharlesPikachu/paperdl): Search and download paper from specific websites.\n- [Sciogovterminal](https://github.com/CharlesPikachu/sciogovterminal): Browse \"The State Council Information Office of the People's Republic of China\" in the terminal.\n- [CodeFree](https://github.com/CharlesPikachu/codefree): Make no code a reality.\n- [DeepLearningToys](https://github.com/CharlesPikachu/deeplearningtoys): Some deep learning toys implemented in pytorch.\n- [DataAnalysis](https://github.com/CharlesPikachu/dataanalysis): Some data analysis projects in charles_pikachu.\n- [Imagedl](https://github.com/CharlesPikachu/imagedl): Search and download images from specific websites.\n- [Pytoydl](https://github.com/CharlesPikachu/pytoydl): A toy deep learning framework built upon numpy.\n- [NovelDL](https://github.com/CharlesPikachu/noveldl): Search and download novels from some specific websites.\n\n\n# Citation\nIf you use this project in your research, please cite this project.\n```\n@misc{musicdl2020,\n    author = {Zhenchao Jin},\n    title = {Musicdl: A lightweight music downloader written in pure python},\n    year = {2020},\n    publisher = {GitHub},\n    journal = {GitHub repository},\n    howpublished = {\\url{https://github.com/CharlesPikachu/musicdl}},\n}\n```\n\n\n# More\n#### WeChat Official Accounts\n*Charles_pikachu*  \n![img](./docs/pikachu.jpg)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlespikachu%2Fmusicdl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharlespikachu%2Fmusicdl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlespikachu%2Fmusicdl/lists"}