1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-06 08:22:56 +01:00
No description
Find a file
2014-04-28 18:23:15 -05:00
sites Add support for sta.sh 2014-04-28 18:23:15 -05:00
.gitignore Ignore the venv directory 2014-04-27 03:12:29 -05:00
epub.py A PEP8 run-through 2014-04-28 15:15:53 -05:00
fetch.py A PEP8 run-through 2014-04-28 15:15:53 -05:00
leech.py Add support for sta.sh 2014-04-28 18:23:15 -05:00
README.markdown A readme 2013-12-24 02:47:22 -06:00
requirements.txt Freeze pip 2014-04-27 03:11:47 -05:00

Leech

Let's say you want to read some sort of fiction. You're a fan of it, perhaps. But mobile websites are kind of non-ideal, so you'd like a proper ebook made from whatever you're reading.

Usage

You'll need python3 and BeautifulSoup.

$ python3 leech.py [[URL]]

A new file will appear named Title of the Story.epub.

If you want to put it on a Kindle you'll have to convert it. I'd recommend Calibre, though you could also try using kindlegen directly.

Supports

  • Fanfiction.net

Contributing

If you submit a pull request to add support for another site, I will nigh-certainly accept it.