Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sun1638650145/bunnyburrow-weread
微信读书ePub下载工具 Bunnyburrow Software Project(兔窝镇软件计划)
https://github.com/sun1638650145/bunnyburrow-weread
epub weread
Last synced: about 2 months ago
JSON representation
微信读书ePub下载工具 Bunnyburrow Software Project(兔窝镇软件计划)
- Host: GitHub
- URL: https://github.com/sun1638650145/bunnyburrow-weread
- Owner: sun1638650145
- License: other
- Created: 2022-09-02T02:55:02.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-10T08:43:55.000Z (almost 2 years ago)
- Last Synced: 2023-06-19T10:01:20.757Z (over 1 year ago)
- Topics: epub, weread
- Language: Python
- Homepage:
- Size: 993 KB
- Stars: 32
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 微信读书ePub下载工具 🔧
[![build](https://github.com/sun1638650145/bunnyburrow-weread/actions/workflows/build.yml/badge.svg)](https://github.com/sun1638650145/bunnyburrow-weread/actions/workflows/build.yml) [![codecov](https://codecov.io/gh/sun1638650145/bunnyburrow-weread/branch/master/graph/badge.svg?token=BGOKZFYKWA)](https://codecov.io/gh/sun1638650145/bunnyburrow-weread)
微信读书ePub下载工具是Bunnyburrow Software Project(兔窝镇软件计划)的第2个组件, 它可以下载您已购买的电子书.
## 声明 ⚠️
为尊重微信读书的合法权益, 本项目禁止开展任何商业行为, 禁止闭源开发. 由您不当使用均与开发者无关!
## 使用方法
微信读书ePub下载工具将提供3种灵活的使用方法.
### 1. 使用`weread-cli`命令行工具 💻
```shell
# 扫码登录后, 通过web阅读器下载原始数据文件.
weread-cli download -v 怦然心动
# 检查下载的原始数据文件的完整性.
weread-cli check ./怦然心动(精装纪念版).rdata.zip
# 生成ePub文件.
weread-cli generate ./怦然心动(精装纪念版).rdata.zip
```### 2. 在Python 🐍 脚本中使用
```python
import asyncio
from weread import check, download, generate# 扫码登录后, 通过web阅读器下载原始数据文件.
# 脚本中提供更加丰富的功能, 比如设置自定义下载路径, headless和无痕模式.
rdata_filepath = asyncio.run(download('怦然心动',
verbose=True,
info=True,
incognito=False))
# 检查原始数据文件完整性, 并生成ePub文件.
if check(rdata_filepath):
generate(rdata_filepath, info=True)
```### 3. 在集成的Bunnyburrow中通过图形化界面使用 🧑💻 (即将实现)