Giter Site home page Giter Site logo

cirno-go-dread's Introduction

Cirno
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/cirno dir, create a file named config.yaml:
app:
  account: 
  login_token: 

Usage

  • cirno login to Log in to your account.

  • cirno search xxxx to search books.

  • cirno download bid to download books.

  • You can add --type flag to specify the books type, support txt and epub, default value is txt.

    cirno -t epub download 100003327
    cirno -t epub search happyend

Config

  • All files about Cirno-go are located in $HOME/Cirno/

  • Do not delete config.yaml, otherwise you need to do cirno login again.

  • 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 run

    pkg 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.

cirno-go-dread's People

Contributors

azusachan avatar realqhc avatar zsakvo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.