Skip to main content

Automagically download any Wattpad book as an EPUB file. (new Wattpad update supported)

Project description

Wattpad Scraper

This is a CLI tool designed to help you download any Wattpad story into an EPUB file, with metadata and all! This version supports the new Wattpad story format.

New Wattpad story format? What's that you ask? I'm not really sure when it started, but Wattpad updated the HTML structure of their stories, converting class tags into random nonsense (this is due to minimizing), rendering other tools unusable. This tool uses the new format, so it should work with any story on Wattpad.

Requirements

  • Python 3.12
  • pip

Installation

pip install wattpad-scraper

Usage

wattpad-scraper epubit replace_this_with_your_book_id

The file will be saved to /output/book.epub.

Note

The function docs were written by tabbing on Copilot suggestions so expect them to be... weird. Some other comments were also written by Copilot, so they may have a weird tone. You can clearly see the difference between my comments and Copilot's comments. But the code works, and that's what matters, and who cares about comments anyway?

Legal Notice

This tool is for educational purposes only. Please respect Wattpad's terms of service and copyright laws!

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wattpad_scraper-1.0.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wattpad_scraper-1.0.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file wattpad_scraper-1.0.0.tar.gz.

File metadata

  • Download URL: wattpad_scraper-1.0.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wattpad_scraper-1.0.0.tar.gz
Algorithm Hash digest
SHA256 aeec885fd60eeda25cb3bcb83623d70ab16637ffc26c9e11bc8e39145e337fac
MD5 30e7d6072177ed65a2b5e181bfd9707c
BLAKE2b-256 147501cbab4351f8bd99f0b94f07faee7c5eabfedde415672b3d24fef8842bce

See more details on using hashes here.

Provenance

The following attestation bundles were made for wattpad_scraper-1.0.0.tar.gz:

Publisher: python-publish.yml on NotFenixio/wattpad-scraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wattpad_scraper-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wattpad_scraper-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c225f8f589ee07651083cc845ac81eb14eb4e57e00495bc64097e8d9a5be65e4
MD5 76bea41ea54c36c47b8a8906ed2965cf
BLAKE2b-256 d74676b87f6c12d89e51db8041ad9bbbb6edebbc7912f6cf402e4a4e0754fc39

See more details on using hashes here.

Provenance

The following attestation bundles were made for wattpad_scraper-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on NotFenixio/wattpad-scraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page