guanguans/music-dl

音乐搜索下载器。 - 音乐搜索下载器。

5.2.1 2024-09-23 10:26 UTC

README

usage

简体中文 | ENGLISH

音乐搜索下载器。 - 音乐搜索下载器。

⚠️ 此工具仅用于学习和交流。禁止将此工具用于商业目的。若发生法律纠纷,与我无关。

tests codecov check & fix styling Latest Stable Version GitHub release (latest by date) Total Downloads License

要求

  • PHP >= 8.2

安装

下载 music-dl 文件

curl 'https://raw.githubusercontent.com/guanguans/music-dl/master/builds/music-dl' -o music-dl --progress-bar
chmod +x music-dl

通过 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

用法

╰─ ./music-dl list                                                                                                        ─╯

  Music DL  refs/tags/4.1.6

  USAGE:  <command> [options] [arguments]

  completion  Dump the shell completion script
  inspire     Display an inspiring quote
  music       Search and download music
  self-update Allows to self-update a build application
  thanks      Thanks for using this tool.
╰─ ./music-dl music --help                                                                                                      ─╯
Description:
  Search and download music

Usage:
  music [options] [--] [<keyword>]

Arguments:
  keyword                  Search keyword for music

Options:
      --driver[=DRIVER]    Specify the search driver(sync、fork、process) [default: "sync"]
  -d, --dir[=DIR]          Specify the download directory
      --no-continue        Specify whether to recall the command after the download is complete
      --sources[=SOURCES]  Specify the music sources(tencent、netease、kugou) (multiple values allowed)
  -h, --help               Display help for the given command. When no command is given display help for the music command
  -q, --quiet              Do not output any message
  -V, --version            Display this application version
      --ansi|--no-ansi     Force (or disable --no-ansi) ANSI output
  -n, --no-interaction     Do not ask any interactive question
      --env[=ENV]          The environment the command should run under
  -v|vv|vvv, --verbose     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

usage

测试

composer test

变更日志

请查看 变更日志 了解最近的变化。

贡献

请查看 贡献指南 了解详情。

安全漏洞

请查看 我们的安全策略 了解如何报告安全漏洞。

致谢

许可协议

MIT 许可协议 (MIT)。请参阅 许可文件 了解更多信息。