David Lynch
17cd0ea4e2
Royalroad domain name fiddliness
2018-08-29 23:07:06 -05:00
David Lynch
6c8ac39d64
fromtimestamp still needed
...
My bad.
2018-08-29 23:04:17 -05:00
David Lynch
a151f02c84
Fix spacing
...
...I'm bad at the web interface.
2018-08-29 23:01:43 -05:00
David Lynch
69c9c21f47
Avoid double-fetching the chapter contents
...
Doesn't matter hugely if caching is enabled, but it's still suboptimal.
2018-08-29 23:00:45 -05:00
random human
23b76d2aac
Fix royalroadl.com chapter dates
...
Since the timestamp provided with the chapter list is approximate, fetch
the actual chapter in order to get unixtime.
2018-08-30 04:03:29 +05:30
Alex Raubach
1bfc9b75f7
Remove unneeded whitespace
2018-08-28 23:24:59 -04:00
Alex Raubach
2019616505
Check that the chapter has content before parsing
...
Trying to select the first element in line 87 will throw a list index out of range error if there is no content matching the selector.
2018-08-28 21:59:16 -04:00
David Lynch
fb8d6cf0d6
Merge pull request #9 from Zomega/clickify
...
Switch from using raw argparser to using click.
2018-08-17 21:33:23 -05:00
David Lynch
499530993c
Royalroad seems to need www now
2018-07-11 21:24:22 -05:00
Will Oursler
d1842e2bf1
Adds a system for site options to be included as click.options on commands.
2018-04-14 12:56:31 -04:00
Will Oursler
ecebf1de58
Merge branch 'master' into clickify
2018-04-13 17:52:37 -04:00
David Lynch
868ef4b157
Handle mobile links for FFN
2018-03-30 15:18:57 -05:00
David Lynch
7d2c1647e2
Safer check on retry-after
2018-02-28 20:54:37 -06:00
David Lynch
2042f813d0
Allow AO3 logins for member-only stories
2018-01-19 14:15:43 -06:00
David Lynch
f8d494283c
Proper URL normalization for AO3 chapters
2018-01-19 13:19:45 -06:00
David Lynch
e9dab9ab7d
Fix linting on royalroad
2017-11-17 22:57:54 -06:00
David Lynch
e099f47e66
Support: RoyalRoad
2017-11-17 21:37:13 -06:00
David Lynch
7bb6da382c
Oh hey, another missing Section URL
2017-11-04 00:30:59 -05:00
David Lynch
6d52c72c99
Use logging instead of print
...
Fixes #10
2017-11-04 00:09:09 -05:00
David Lynch
43599aceb5
Merge branch 'master' into clickify
2017-11-03 15:21:44 -05:00
David Lynch
f1ac7c8bda
Retry failed site-requests
2017-10-31 00:27:54 -05:00
David Lynch
27b677a444
Fix no-threadmarks autodetect
2017-10-29 19:50:19 -05:00
David Lynch
257ab69394
Arbitrary handler: canonicalize URLs
2017-10-22 17:31:10 -05:00
David Lynch
dc0d2162fb
Arbitrary handler had misplaced url arg
2017-10-22 17:06:40 -05:00
Will Oursler
9b4d2a0998
Adds a more sensible default for options in the Site base class.
2017-10-13 19:43:38 -04:00
Will Oursler
c702337040
Reworks how site-specific options work.
2017-10-13 19:37:13 -04:00
David Lynch
3a24cad826
Fill in some TODOs for fiction.live
2017-10-12 18:38:58 -05:00
David Lynch
1fe2e72b30
Site handler for fiction.live
2017-10-12 17:59:02 -05:00
Will Oursler
db48233cf4
Switch from using raw argparser to using click. Preserves the existing
...
interface, except leech --flush becomes leech flush
2017-10-12 13:00:24 -04:00
Will Oursler
1c577b6f67
Fix lint errors
2017-10-12 10:07:22 -04: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
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