1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-24 17:23:55 +01:00
Commit graph

107 commits

Author SHA1 Message Date
David Lynch
d60c21cae3 Remove TODO from arbitrary
529b85c7 implemented this, so it's good.
2017-10-06 14:08:18 -05:00
Will Oursler
b78f3c0c77 Fix up the FictionPress site handler.
Updates the comment to a valid fictionpress story. Changes the matches method so it works like the one for FFN. As it is now, it didn't work for me. After this, works on the provided URL and several variants.
2017-10-06 12:28:31 -04:00
David Lynch
2ce43c9da7 Xenforo: turn some styles into tags 2017-10-05 13:47:16 -05:00
David Lynch
eb715366f0 Fix single-chapter fanfiction.net stories 2017-09-22 21:33:20 -05:00
David Lynch
6840d8a4c9 Xenforo: threadmarks fallback 2017-08-03 16:14:40 -05:00
David Lynch
63e7a0de37 Xenforo: threadmark changes 2017-07-24 22:50:18 -05:00
David Lynch
ea3432bc99 AO3: author notes should be included 2017-05-28 01:15:04 -05:00
David Lynch
529b85c7a6 Adjust Arbitrary so it can handle non-chapter works 2017-04-29 20:59:04 -05:00
David Lynch
17664125f3 Changed mind for arbitrary: JSON definitions 2017-04-24 22:02:16 -05:00
David Lynch
7171d2c9ea Add an arbitrary-site handler 2017-04-24 01:09:43 -05:00
David Lynch
0230993cb4 Make xenforo title select pickier 2017-03-17 22:39:56 -05:00
David Lynch
40042cdb46 Xenforo: exclude threadmarks from links, too 2017-03-13 00:08:53 -05:00
David Lynch
5b4b9a0dc3 Canonicalize URLs 2017-02-23 15:03:23 -06:00
David Lynch
9e542c9018 Decompose xenforo hidden blockquote notes 2017-02-23 14:20:24 -06:00
David Lynch
86e36715f1 Set up for Travis 2017-02-08 13:20:14 -06:00
David Lynch
24f7137929 Fix footnote backlinks, from structure change 2017-02-05 12:38:12 -06:00
David Lynch
c272bdee29 Support FictionPress 2017-02-03 11:00:25 -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
7addf4c3d1 AO3: handle series, imperfectly 2016-12-28 03:06:43 -06:00
David Lynch
da4d7fc5bf Trim xenforo titles 2016-11-06 09:55:34 -06:00
David Lynch
b5740691cc Special-case people faking tabs in xenforo 2016-10-11 00:37:46 -05: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
0102d62b00 Xenforo: Allow skipping of spoilers 2016-04-23 00:04:45 -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
04f1f6f4a9 Xenforo: account for titleless spoilers 2015-12-16 15:35:30 -06:00
David Lynch
178ff6bda7 Instead of stop-after, use offset/limit 2015-12-14 17:34:20 -06:00
David Lynch
8ce3c7f709 Xenforo option: stop-after 2015-12-14 17:30:59 -06:00
David Lynch
a5fb14d61a Xenforo: canonicalize post URLs from threadmarks 2015-12-09 01:57:55 -06: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
bff375a8e7 Generate covers 2015-11-11 00:39:41 -08: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
ecfe1f35a8 Fix bug with postid finding 2015-10-28 11:03:45 -05:00
David Lynch
73b1a2c6fd Error handling: was bad 2015-10-28 03:18:17 -05:00
David Lynch
0d34552ed1 Clean up spacebattles handling
Make it fall back better if it's given a threadmark-less post. Just
assume the first one is an index post.
2015-10-08 11:41:22 -05:00
David Lynch
e2a26837ef Typo and missing block in the Index class 2015-09-14 00:44:23 -05:00
David Lynch
2aba80be24 Change sites strategy to use classes and inheritance 2015-09-14 00:38:02 -05:00
David Lynch
1795c717e9 BS4 multiple-class check should use select 2015-09-10 03:25:27 -05:00
David Lynch
d8250fa7bf Handle some threadmarks better 2015-08-14 01:03:04 -05:00
David Lynch
43f0ec9fef Let the spacebattles handler suck in sufficientvelocity as well 2015-06-30 00:28:33 -05:00
David Lynch
1d622e8af0 Error handling and defaulting to the top post in a thread 2015-06-12 14:29:36 -05:00
David Lynch
9f6cae66ee Account for base links in index posts 2015-06-11 01:48:02 -05:00
David Lynch
9a919e88b8 Also, non-threadmarked spacebattles, albeit generally requiring more touchups 2015-06-11 01:34:58 -05:00
David Lynch
6ccbe59a6c Add spacebattles threadmark support 2015-06-11 00:44:20 -05:00
David Lynch
d532962696 Support deviantart favourites / galleries 2014-04-28 19:10:04 -05:00
David Lynch
d1a60dbb9c Add support for sta.sh 2014-04-28 18:23:15 -05:00
David Lynch
37f20415ec A PEP8 run-through 2014-04-28 15:15:53 -05:00
David Lynch
59cba2fa56 Little bit of feedback 2013-12-29 13:57:25 -06:00
David Lynch
9092386cca Don't die immediately if cleaning fails 2013-12-24 03:03:59 -06:00
David Lynch
91b7ed3917 Split out per-site story extractors 2013-12-24 02:21:23 -06:00