No description
Find a file
wsuetholz ed4ff4b6ab Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code.
Ended up modifying the removeEntities function to do a weird decode/encode step on the text passed in.  This seems to at least stop things from crashing..
2010-11-10 13:47:13 -06:00
books Allow one-shot fics for ffnet. 2010-09-24 23:36:05 -05:00
__init__.py Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code. 2010-11-10 13:47:13 -06:00
adapter.py Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code. 2010-11-10 13:47:13 -06:00
BeautifulSoup.py Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code. 2010-11-10 13:47:13 -06:00
constants.py Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code. 2010-11-10 13:47:13 -06:00
downloader.py Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code. 2010-11-10 13:47:13 -06:00
ffnet.py Changed the title page generation to allow for easily adding and removing entries from the table of information shown. 2010-11-10 11:18:48 -06:00
fictionalley.py Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code. 2010-11-10 13:47:13 -06:00
ficwad.py Changed the title page generation to allow for easily adding and removing entries from the table of information shown. 2010-11-10 11:18:48 -06:00
hpfiction.py Change to allow a chapter url to be passed in, yet still get the information it needs from the story index page. This will get the chapter links from the passed in url. 2010-11-10 12:36:21 -06:00
html2text.py Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code. 2010-11-10 13:47:13 -06:00
html_constants.py Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code. 2010-11-10 13:47:13 -06:00
output.py Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code. 2010-11-10 13:47:13 -06:00
readme.txt Changed all references to downaloder.py to downloader.py. 2010-11-10 11:29:17 -06:00
twilighted.py Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code. 2010-11-10 13:47:13 -06:00
twipassword.py Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code. 2010-11-10 13:47:13 -06:00
zipdir.py Trying to fix outputting some utf-8 text. Added the utf-8 header to all the source code. 2010-11-10 13:47:13 -06:00

To use, do:

python downloader.py <url> (epub|html)

Eg:

python downloader.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.