Skip to main content

这是一个用来从网页版全民K歌抓取用户自己作品并下载到本地的脚本

Project description

# KGraber

这是一个用来从网页版全民K歌抓取用户自己作品并下载到本地的脚本

— Author: wangzhizhou(Joker)

Email: 824219521@qq.com

# Python 方式

如果你对python比较熟悉,可以`clone`源码后,使用可编辑源码的方式安装该包,如下命令

` $ pip install -e . `

## 使用

` $ KGraber `

  • 要使用`全民K歌`手机App内置的二维码扫码功能

  • 脚本创建名为`songs`的目录保存已下载的用户歌曲

# 下载预编译二进制运行

下载对应平台的可执行文件后,在Mac/Linux下需要给文件开启执行权限: $ sudo chmod u+x KGraber`后,再在终端中运行。在Windows下可以直接点击.exe`文件执行。

## 下载

# 在具体平台上编译二进制的方法

### 安装相关包

` $ virtualenv venv $ . venv/bin/activate $ pip install -r requirements.txt $ pip install -e . `

### Mac平台

` $ pyinstaller --clean -F --workpath release --specpath release --distpath release/mac_x64 -n KGraber release.py `

### Windows 平台

` $ pyinstaller --clean -F --workpath release --specpath release --distpath release/windows_x64 -n KGraber.exe release.py `

# 本包已提交到PyPi Index上,所以也可以使用下面方法安装

` $ pip install KGraber ` Enjoy It

pipa: d2FuZ3poaXpob3UrV3c1NDM4NTkyMzAK

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

KGraber-1.1.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

KGraber-1.1-py2.py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page