首页 > 其他分享 >免费音乐下载分享(仅供学习)

免费音乐下载分享(仅供学习)

时间:2024-07-01 13:00:02浏览次数:3  
标签:dl 仅供 -- 免费音乐 music https yun 分享 com

目的

  • 工具非本人,仅供分享学习,切勿用于任何商业目的

music-dl(python)

  • https://github.com/0xHJK/music-dl

安装使用

  • 使用pip安装(推荐,注意前面有一个py):
$ pip3 install pymusic-dl
  • 手动安装(最新):
$ git clone https://github.com/0xHJK/music-dl.git
$ cd music-dl
$ python3 setup.py install
  • 不安装直接运行:
$ git clone https://github.com/0xHJK/music-dl.git
$ cd music-dl
$ pip3 install -r requirements.txt
$ ./music-dl
# 或 python3 music-dl

使用

![](https://img-home.csdnimg.cn/images/20230724024159.png?be=1&origin_url=在这里插入图片描述

music-dl(php)

  • https://github.com/guanguans/music-dl/

安装

curl 'https://raw.githubusercontent.com/guanguans/music-dl/master/builds/music-dl' -o music-dl --progress-bar
chmod +x music-dl
  • Install via Composer
composer global require guanguans/music-dl:dev-master --dev -v --ignore-platform-req=ext-pcntl # global
composer require guanguans/music-dl:dev-master --dev -v --ignore-platform-req=ext-pcntl # local

使用

  • 用空格取消选择/选择
    在这里插入图片描述

网易云音乐歌单下载

  • https://github.com/magicdawn/yun-playlist-downloader

安装

# pnpm (recommend)
$ pnpm add -g yun-playlist-downloader

# npm
$ npm i yun-playlist-downloader -g

使用

  • -c 为并发数量
  • –cookie 使用cookie 下载vip需要登录 具体获取方法 http://www.becool.vip/posts/tech/%E8%8E%B7%E5%8F%96%E7%BD%91%E7%AB%99cookie/ 需要保存到yun.cookie.txt文件,并存放于程序运行当前目录 否则就要指定具体路径
  • 执行样例
yun -f ":singer - :songName.:ext" --cookie -c 10 https://music.163.com/\#/playlist\?id\=8494569029

标签:dl,仅供,--,免费音乐,music,https,yun,分享,com
From: https://blog.csdn.net/imheketong/article/details/140045173

相关文章