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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aeec885fd60eeda25cb3bcb83623d70ab16637ffc26c9e11bc8e39145e337fac
|
|
| MD5 |
30e7d6072177ed65a2b5e181bfd9707c
|
|
| BLAKE2b-256 |
147501cbab4351f8bd99f0b94f07faee7c5eabfedde415672b3d24fef8842bce
|
Provenance
The following attestation bundles were made for wattpad_scraper-1.0.0.tar.gz:
Publisher:
python-publish.yml on NotFenixio/wattpad-scraper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wattpad_scraper-1.0.0.tar.gz -
Subject digest:
aeec885fd60eeda25cb3bcb83623d70ab16637ffc26c9e11bc8e39145e337fac - Sigstore transparency entry: 254635840
- Sigstore integration time:
-
Permalink:
NotFenixio/wattpad-scraper@05e8b0ba2e2d5529eef561430799c0295f96b3c3 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/NotFenixio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@05e8b0ba2e2d5529eef561430799c0295f96b3c3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file wattpad_scraper-1.0.0-py3-none-any.whl.
File metadata
- Download URL: wattpad_scraper-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c225f8f589ee07651083cc845ac81eb14eb4e57e00495bc64097e8d9a5be65e4
|
|
| MD5 |
76bea41ea54c36c47b8a8906ed2965cf
|
|
| BLAKE2b-256 |
d74676b87f6c12d89e51db8041ad9bbbb6edebbc7912f6cf402e4a4e0754fc39
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wattpad_scraper-1.0.0-py3-none-any.whl -
Subject digest:
c225f8f589ee07651083cc845ac81eb14eb4e57e00495bc64097e8d9a5be65e4 - Sigstore transparency entry: 254635841
- Sigstore integration time:
-
Permalink:
NotFenixio/wattpad-scraper@05e8b0ba2e2d5529eef561430799c0295f96b3c3 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/NotFenixio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@05e8b0ba2e2d5529eef561430799c0295f96b3c3 -
Trigger Event:
release
-
Statement type: