An open API service indexing awesome lists of open source software.

https://github.com/chen310/neteaselyric


https://github.com/chen310/neteaselyric

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# NeteaseLyric

获取网易云音乐歌词,并转化为 srt 格式。可以部署到 vercel,也可以本地运行

## 本地运行

安装依赖

```shell
pip install -r requirements.txt
```

运行

```shell
python api/index.py
```

## 获取歌词

### srt 格式

```
http://127.0.0.1:5000/lyric?id=65800
```

```
http://127.0.0.1:5000/lyric?id=65800&format=srt
```

### lrc 格式

```
http://127.0.0.1:5000/lyric?id=65800&format=lrc
```

### txt 格式

```
http://127.0.0.1:5000/lyric?id=65800&format=txt
```