David Lynch
6d52c72c99
Use logging instead of print
...
Fixes #10
2017-11-04 00:09:09 -05:00
David Lynch
f1ac7c8bda
Retry failed site-requests
2017-10-31 00:27:54 -05:00
Will Oursler
5bd07a5b90
Splits out ebook generation logic into a seperate module, in anticipation of maybe supporting multiple output formats.
2017-10-12 09:49:32 -04:00
David Lynch
5b4b9a0dc3
Canonicalize URLs
2017-02-23 15:03:23 -06:00
David Lynch
f066fc663d
Use attrs
2017-02-02 23:18:21 -06:00
David Lynch
e6343cb1c9
Stories are now made of nested sections/chapters
...
This is prep-work for improving epub TOC generation a bit.
2017-01-10 00:23:24 -08:00
David Lynch
24fa9aa22d
Use a namedtuple for chapters
2016-09-23 13:11:52 -05:00
David Lynch
574cea3fc8
Make the sites system not require editing __init__.py
2016-09-23 12:51:03 -05:00
David Lynch
86f02812d2
Use requests-cache
2016-08-29 10:59:20 -05:00
David Lynch
d9e65e5b6a
Add a little documentation on the extract method
2016-04-04 09:58:47 -05:00
David Lynch
9eb5b270ab
Ignore the linting on my sites import
2016-04-04 09:45:45 -05:00
David Lynch
008eb8e63d
Support ArchiveOfOurOwn
2016-04-03 21:30:29 -05:00
David Lynch
aa4ba528b7
Let sites define their own custom arguments
...
Use this to let xenforo force the inclusion of the index-post
2015-12-05 01:34:20 -06:00
David Lynch
c69eb1e33e
Footnotes off in their own file
2015-11-30 20:10:58 -06:00
David Lynch
95e25dabd3
First pass at turning spoilers into footnotes for Xenforo
...
This works as popup-footnotes in iBooks and on Kindle. It'd be a bit
better if I put the footnotes in their own file, so they won't be
dropped at the end of chapters on a Kindle. However, that requires
some flow restructuring, and this is an acceptable proof-of-concept
for now.
2015-11-30 16:46:29 -06:00
David Lynch
8f198bae21
Allow logging in to sites, to view hidden things
2015-10-28 18:06:19 -05:00
David Lynch
150d0f63d5
Explicitly support XenForo
2015-10-28 15:52:11 -05:00
David Lynch
2aba80be24
Change sites strategy to use classes and inheritance
2015-09-14 00:38:02 -05:00