Optimized README file

This commit is contained in:
1826013250 2023-04-04 00:41:47 +08:00
parent 4c5bd467cb
commit 2f4db4e11c
2 changed files with 15 additions and 6 deletions

View File

@ -10,10 +10,13 @@ It uses the module `requests` to fetch the lyric on music.163.com
Netease Music supply us an api that we can get the lyric of the current song, so I make this program... Netease Music supply us an api that we can get the lyric of the current song, so I make this program...
## Installation ## Installation
First, you need a python(>=3.10) environment, and use `pip` to install these packages: `requests` `mutagen` `pycryptodomex` First, you need a python(>=3.10) environment
>Feel complex? just copy this command to your terminal: `python3 -m pip install requests mutagen pycryptodomex`
Second, clone the entire project and run the command `python3 main.py` in the project folder. Second, clone the entire project and install packages with the command below:
```commandline
python3 -m pip install -r requirements.txt
```
Last, run the command `python3 main.py` in the project folder.
## What can it do? ## What can it do?
Just download lyrics. Just download lyrics.

View File

@ -9,10 +9,16 @@
网易云音乐提供给我们了一个获取歌词的API ~~然后我就做了这个程序(~~ 网易云音乐提供给我们了一个获取歌词的API ~~然后我就做了这个程序(~~
## 爷要安装 ## 爷要安装
首先你需要一个Python环境(要求版本>=3.10,因为使用了3.10python的新特性)然后使用pip来安装`requests` `mutagen` `pycryptodomex`这几个包 首先你需要一个Python环境(要求版本>=3.10,因为使用了3.10python的新特性)
>您觉得很麻烦?_~~事真多~~_ 直接复制这段命令到终端罢你得先有Python和pip `python3 -m pip install requests mutagen pycryptodomex`
然后,把整个项目薅下来,在当前目录下运行`python3 main.py`就行了 然后,把整个项目薅下来,安装依赖项目:
```commandline
python3 -m pip install -r requirements.txt
```
最后运行下面命令:
```commandline
python3 main.py
```
## 这玩意到底能干啥? ## 这玩意到底能干啥?
~~nmd~~这玩意就像它的名字一样,下载歌词用的 ~~nmd~~这玩意就像它的名字一样,下载歌词用的