pineapple-backups

command module
v0.0.0-...-3ead46a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 12 Imported by: 0

README

Noa Himesaka
Noa Himesaka

Download books from sfacg and hbooker to read them.

简中 | 繁中



About downloading SFACG VIP books

  • WeChat API cannot download VIP chapters, and due to recent updates by the SFACG programmers, the new chapter API only returns images instead of text, making it impossible to download VIP chapters.
  • To implement VIP chapter downloads, you need to enable the SFACG Android API, which can be done by modifying the App variable in the main.go file and setting it from false to true.


Functions

  • 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/VeronicaAlexia/pineapple-backups

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

VERSION:
   V.1.8.4

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

GLOBAL OPTIONS:
   -a value, --app value       cheng app type (default: "cat")
   -d value, --download value  book id
   -t, --token                 input hbooker token
   -m value, --max 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
   --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 liable for 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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
epub
Package epub generates valid EPUB 3.0 files with additional EPUB 2.0 table of contents (as seen here: https://github.com/bmaupin/epub-samples) for maximum compatibility.
Package epub generates valid EPUB 3.0 files with additional EPUB 2.0 table of contents (as seen here: https://github.com/bmaupin/epub-samples) for maximum compatibility.
struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL