Cirno-go
Cirno-go copied to clipboard
yet another tool for downloading books from ciweimao.
Cirno-go
A tool for downloading books from hbooker in Go.
Features
- ~~Login your own account~~
- Search books by book name
- Download books as txt and epub files (epub3.0)
- Download vip chapters
- Multi-threads support
- Cache images in chapters
⚠️ Notice
- Now, a third-party captcha(geetest) has been add to the official server. If you login failed with the right account and password, please capture packets of the app to get the token and account, then, locate to
$HOME/cirnodir, create a file namedconfig.yaml:
app:
account:
login_token:
Usage
-
~~
cirno loginto Log in to your account.~~ -
cirno search xxxxto search books. -
cirno download bidto download books. -
You can add
--typeflag to specify the books type, supporttxtandepub, default value istxt.cirno -t epub download 100003327 cirno -t epub search happyend
Config
-
All files about
Cirno-goare located in$HOME/Cirno/ -
Do not delete
config.yaml, otherwise you need to docirno loginagain. -
Cache chapter images is an extra feature, you need open it manually, Such as:
app: account: login_token: user_name: host_url: # you can use another official api https://app.happybooker.cn if you can't visit the default one. extra: cpic: true #set true to cache images automatically. -
There is a little extra properties waiting for you to discover.
Download
No pre-build binaries to download, please build the source by yourself.
-
if you want to run it on Android devices, please use
termux, and runpkg install proot resolv-conf && proot -b $PREFIX/etc/resolv.conf:/etc/resolv.conf
Notice
-
This tool is for learning only. Please delete it from your computer within 24 hours after downloading.
-
Please respect the copyright and do not spread the crawled books by yourself.