Skip to content

Commit

Permalink
Version 1.6.3
Browse files Browse the repository at this point in the history
[+] improvement : better implementation of singletons
[+] imporvement : better subroutine inheritance (cli)
[+] new feature : filename templates (cli)
[+] new feature : lyric blacklist (cli)
[-] changes : moving to tqdm for status report (cli)
[-] changes : less verbose log output
[-] changes : removal of Gooey implemenation
[-] chore : edit README
[-] cleanup : somehow lesser code
  • Loading branch information
mos9527 committed Jun 20, 2021
1 parent 2e8bbcb commit 733c977
Show file tree
Hide file tree
Showing 5 changed files with 284 additions and 266 deletions.
46 changes: 39 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,45 @@
# 安装
pip install pyncm

# 直接使用
python -m pyncm -h
# 使用
usage: __main__.py [-h] [--template 模板] [--quality 音质] [--output 输出] [--lyric-no 跳过歌词 [跳过歌词 ...]] [--phone 手机] [--password 密码] 链接

## 说明
若 Python 环境已安装[Gooey](https://github.com/chriskiehl/Gooey),通过 `-m` 不带参数即启动GUI
![Gooey GUI..?](https://github.com/greats3an/pyncm/raw/master/demos/_gooey_demo.png)
PyNCM 网易云音乐下载工具

positional arguments:
链接 网易云音乐分享链接

optional arguments:
-h, --help show this help message and exit

下载:
--template 模板 保存文件名模板
参数:
id - 网易云音乐资源 ID
year - 出版年份
no - 专辑中编号
album - 专辑标题
track - 单曲标题
title - 完整标题
artists- 艺术家名
例:
{track} - {artists} 等效于 {title}
--quality 音质 音频音质(高音质需要 CVIP)
--output 输出 输出文件夹

歌词:
--lyric-no 跳过歌词 [跳过歌词 ...]
跳过某些歌词类型的合并
参数:
lrc - 源语言歌词
tlyric - 翻译后歌词
romalrc- 罗马音歌词
例:
--lyric-no tlyric --lyric-no romalrc 将只下载源语言歌词

登陆:
--phone 手机 网易账户手机号
--password 密码 网易账户密码

### 使用示例
python -m pyncm http://music.163.com/song?id=31140560 --phone... --password...
Expand All @@ -37,8 +70,7 @@
[Wiki - Pages](https://github.com/greats3an/pyncm/wiki)

[Wiki - Cryptograhpy](https://github.com/greats3an/pyncm/wiki/%23---Cryptography)
# PR
[Wiki - Home](https://github.com/greats3an/pyncm/wiki)

# Credit
[Android逆向——网易云音乐排行榜api(上)](https://juejin.im/post/6844903586879520775)

Expand Down
2 changes: 1 addition & 1 deletion pyncm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from time import time
import requests,logging,json

__version__ = "1.6.2.7"
__version__ = "1.6.3"

class Session(requests.Session):
'''Represents an API session'''
Expand Down
Loading

0 comments on commit 733c977

Please sign in to comment.