mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 08:52:55 +01:00
No description
53:c93e07566456 wsuetholz 2010-11-10 10:11 Ficwad wants you to login in order to view some stories.. They old ficwad.py got around that by starting with the first chapter instead of the story index page. Since I needed the story index page I had changed it to switch to that page, and then scrape the chapter information from there, which doesn't work if the chapters are blocked. While it still won't work if you pass in the URL for the story index page, I now switch back to the page that you passed in originally when looking for the chapters to download.. The one problem I have with this, is I change the self.url to the story index page, which should probably remain so that we have a consistent self.url even if the user starts with chapter 9 this time instead of chapter 1. |
||
|---|---|---|
| books | ||
| __init__.py | ||
| adapter.py | ||
| BeautifulSoup.py | ||
| constants.py | ||
| downloader.py | ||
| ffnet.py | ||
| fictionalley.py | ||
| ficwad.py | ||
| hpfiction.py | ||
| html2text.py | ||
| html_constants.py | ||
| output.py | ||
| readme.txt | ||
| twilighted.py | ||
| twipassword.py | ||
| zipdir.py | ||
To use, do: python downaloder.py <url> (epub|html) Eg: python downaloder.py http://www.fanfiction.net/s/5192986/1/A_Fox_in_Tokyo epub This tool uses Python 2.5.2, but should work with newer versions.