PhpDev.App
guanguans/music-dl

guanguans/music-dl

Stars: 445

Forks: 54

Pull Requests: 561

Issues: 16

Watchers: 5

Last Updated: 2023-09-12 21:07:33

Music Searcher and Downloader. - 音乐搜索下载器。

License: MIT License

Languages: PHP, Batchfile

https://guanguans.github.io/music-dl

music-dl

usage

简体中文 | ENGLISH

Music Searcher and Downloader. - 音乐搜索下载器。

⚠️ This tool is only used for learning and communication. It is forbidden to use this tool for commercial purposes. If a legal dispute arises, it has nothing to do with me.

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

Requirement

  • PHP >= 8.0

Installation

Download the music-dl file

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

Install via Composer

composer global require guanguans/music-dl --dev -v # global
composer require guanguans/music-dl --dev -v # local

Usage

╰─ ./music-dl                                                                         ─╯

     __  __           _        _____  _
    |  \/  |         (_)      |  __ \| |
    | \  / |_   _ ___ _  ___  | |  | | |
    | |\/| | | | / __| |/ __| | |  | | |
    | |  | | |_| \__ \ | (__  | |__| | |____
    |_|  |_|\__,_|___/_|\___| |_____/|______| 3.5.2

 请输入关键字如:一个短篇  腰乐队  Yesterday once more,或按 Ctrl+C 退出程序 [腰乐队]:
 > 
╰─ ./music-dl --help                                                                                                       ─╯
Description:
  Search and download music

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

Arguments:
  keyword                  Search keyword for music

Options:
      --driver[=DRIVER]    Specify the search driver(async、fork、sequence) [default: "sequence"]
  -d, --dir[=DIR]          Specify the download directory
      --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
╰─ ./music-dl list                                           ─╯

  Music DL  3.5.2

  USAGE: music-dl <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.

vhs

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

OPEN ISSUES

See all