# lyric-dl

> Lyrics download tools

Latest version **0.2.0** (published 2017-07-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install lyric-dl
pnpm add lyric-dl
yarn add lyric-dl
bun add lyric-dl
```

Provides the command `lyric-dl`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2017-07-02 |
| First published | 2017-02-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 48 |
| Author | frimin |
| Maintainers | frimin |
| Keywords | lyric |

## Links

- npm: https://www.npmjs.com/package/lyric-dl
- Repository: https://frimin@github.com/frimin/lyric-dl
- Homepage: https://github.com/frimin/lyric-dl#readme
- Issues: https://github.com/frimin/lyric-dl/issues
- npm.io page: https://npm.io/package/lyric-dl

## Dependencies (6)

- [async](https://npm.io/package/async.md) ^2.1.4
- [debug](https://npm.io/package/debug.md) ^2.6.8
- [cheerio](https://npm.io/package/cheerio.md) 1.0.0-rc.1
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [crypto-js](https://npm.io/package/crypto-js.md) ^3.1.9-1
- [html-decoder](https://npm.io/package/html-decoder.md) ^1.0.2

## Recent versions

- 0.2.0 (latest) — 2017-07-02
- 0.1.7 — 2017-04-13
- 0.1.6 — 2017-04-05
- 0.1.5 — 2017-03-24
- 0.1.4 — 2017-02-14
- 0.1.3 — 2017-02-13
- 0.1.2 — 2017-02-09
- 0.1.1 — 2017-02-07
- 0.1.0 — 2017-02-07

## README

## Lyrics Download Tools

**lyric-dl** 是一个下载在线音乐歌词的命令行工具，它是一个 Node.js 程序，在使用它之前你必须安装 [Node.js](https://nodejs.org/en/)

目前支持的网站：

* **网易云音乐 (ntes)** :
* **QQ音乐 (qq)**
* **虾米音乐 (xiami)**

安装

	npm install lyric-dl -g

更新

	npm update lyric-dl -g

OR

	git clone https://github.com/frimin/lyric-dl
	cd lyric-dl
	npm install
	ln -s bin/lyric-dl lyric-dl
	./lyric-dl dl <URL>

### 使用

命令格式

	lyric-dl [命令 [参数 [参数 ...]]] [选项]

拥有一个歌曲地址，可以通过 URL 来下载歌词，以 JSON 格式输出到标准输出以获取歌曲信息

	lyric-dl download <url> --out-format json

通过歌曲名来获取搜索结果

	lyric-dl search <name>

使用管道批量下载搜索结果的歌词到当前目录

	lyric-dl search <name> --output-url | lyric-dl dl -d . -
	
在下载命令中可以指定 **--extract** 选项，该选项会提取歌词的正文内容，剔除标题等其他信息

---
_Source: https://npm.io/package/lyric-dl · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
