https://github.com/chen310/neteaselyric
https://github.com/chen310/neteaselyric
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chen310/neteaselyric
- Owner: chen310
- Created: 2022-10-17T01:36:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-17T01:36:42.000Z (over 3 years ago)
- Last Synced: 2024-12-28T00:31:18.563Z (over 1 year ago)
- Language: Python
- Homepage: https://netease-lyric.vercel.app/
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```