Giter Club home page Giter Club logo

pineapple-backups's Introduction

Noa Himesaka

Noa Himesaka

Download books from sfacg and hbooker to read them.

简中 | 繁中


Features

  • The script implements download functions for SFACG [Android/WeChat] API and hbooker Android API.
  • You can log in to your account and save your cookies in a config.json file.
  • Input the book ID or URL to download the book to a local directory.
  • Input the URL to download the book text from the URL.
  • Supports downloading EPUB files from SFACG and hbooker.
  • Search for books by keyword and download the search results.
  • [ Warning ] The new version of book cache is incompatible with older versions of book cache.

Sign in to your Ciweimao account

  • To use this script, you need to log in with your account and obtain your token.
  • The new version of hbooker adds GEETEST verification, which will be triggered if you enter incorrect information or log in multiple times.
  • The IP address may need to log in again after a few hours to avoid triggering the verification process. You can try changing the IP to avoid it.

Accessing the API using tokens

  • Use tokens to access the API and bypass login.
  • Third-party captcha GEETEST has been added to the Ciweimao official server.
  • The Ciweimao login is protected by GEETEST, which seems impossible to circumvent.
  • You can capture packets of the Ciweimao Android App to obtain the account and login_token for logging in.

Example

NAME:
   pineapple-backups - https://github.com/AlexiaVeronica/pineapple-backups

USAGE:
   main.exe [global options] command [command options] [arguments...]

VERSION:
   V.1.9.7

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   -a value, --appType value    cheng app type (default: "sfacg")
   -d value, --download value   book id
   -t, --token                  input hbooker token
   -m value, --maxThread value  change max thread number (default: 16)
   -u value, --user value       input account name
   -p value, --password value   input password
   --update                     update book
   -s value, --search value     search book by keyword
   -l, --login                  login local account
   -e, --epub                   start epub
   -b, --bookshelf              show bookshelf
   --help, -h                   show help
   --version, -v                print the version 

Thank you for JetBrains License

JetBrains

  • Goland

  • I would like to express my sincere gratitude and appreciation to JetBrains for providing me with the license to use and leverage software related to open source tools.

  • Your software has helped me to accomplish my tasks faster and more efficiently in my daily work, while also providing me with appropriate quality assurance. This is important for my personal growth and business development.

  • Thank you for your outstanding contribution to promoting the development of open-source software community. I will continue to use and support your company's software in my work and leisure time, and actively participate in contributing to the open-source community.

  • Once again, thank you JetBrains for your support!

  • Best regards, Alexia

Disclaimers

  • This tool is for educational purposes only. Please delete it from your computer within 24 hours after downloading.
  • Please respect the copyright and do not distribute the crawled books yourself.
  • The authors or copyright holders shall not be liablefor any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software, including but not limited to the use of the software for illegal purposes. The author is not responsible for any legal consequences.
  • If you have any questions, please contact me via GitHub issues or email.

pineapple-backups's People

Contributors

alexiaveronica avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pineapple-backups's Issues

search keyword

I don't know if it's the reason for running the code directly with cmd, I didn't respond to the function of search keyword.
And is it better to communicate in English? My English level is poor.

不会GO想问下使用问题

FJR7K(UH1R}1PNDPPP_V5BC
直接使用login指令就一直报错,是代码里哪里需要改吗?
然后就是菠萝包抓包一直显示SSL证书错误,试了用手机开虚拟机抓包也试了用电脑抓手机的包都不行,可以麻烦问下应该要怎样去抓token吗?谢谢了

I can’t get the token

Can I get the login_token and account of sfacg from a local file? I tried to use Packet Capture, but sfacg displayed an SSL certificate error. To solve this problem, I installed lsposed, but after installing lsposed, sfacg cannot be started.

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.