Python Script to Scrape Wattpad Story and convert to Epub and html file. Easiest to use.
GPL-2.0 License
Python Script to Scrape Wattpad Story and convert to Epub and html file.
Installing via pypandoc is possible on Windows, Mac OS X or Linux (Intel-based, 64-bit):
# expects an installed pypandoc: pip install pypandoc
from pypandoc.pandoc_download import download_pandoc
# see the documentation how to customize the installation path
# but be aware that you then need to include it in the `PATH`
download_pandoc()
The default install location is included in the search path for pandoc, so you don't need to add it to the PATH.
https://www.wattpad.com/story/39479-paper-ghosts
Either Directly Run
Wattpad2epub.py
or
Wattpad2epub.py Story_url #Pyperclip library not needed for this.
Yes, it can take 1 Commandline Argument as the copied url of the Story.
You got html and epub saved in the same location.