Commit graph

122 commits

Author SHA1 Message Date
Joakim Soderlund
9d9c3e05e3 Change return types from Iterable to Iterator 2018-03-03 21:33:21 +01:00
Joakim Soderlund
0587144a5d Make DirectoryFetcher iterable 2018-03-01 20:42:24 +01:00
Joakim Soderlund
b916699127 Make FimfarchiveFetcher iterable 2018-02-14 09:47:53 +01:00
Joakim Soderlund
cb58cfaa53 Add missing prefix to formatted strings 2018-02-14 09:28:35 +01:00
Joakim Soderlund
4a7b10f2a2 Copy archive meta in update task 2018-01-27 00:01:52 +01:00
Joakim Soderlund
f3b8942c65 Update FimfarchiveFetcher for beta format 2017-12-05 23:27:52 +01:00
Joakim Soderlund
f7f6f43886 Move alpha beta converter tags to resource file 2017-11-18 23:38:15 +01:00
Joakim Soderlund
1e68420b4e Add directory fetcher 2017-11-18 16:01:38 +01:00
Joakim Soderlund
a4c1fe5a2d Add alpha to beta converter 2017-11-12 18:35:15 +01:00
Joakim Soderlund
b590c60c3b Prioritize existing flavor in meta format mapper 2017-11-11 00:06:05 +01:00
Joakim Soderlund
4ee0824230 Add meta format mapper 2017-11-10 23:38:49 +01:00
Joakim Soderlund
478b2e7080 Change find flavors method into utility function 2017-11-10 22:41:53 +01:00
Joakim Soderlund
c604c4b2ad Write only meta for revived stories in update task 2017-11-08 20:09:09 +01:00
Joakim Soderlund
2270df477b Add JSON story writer to update task 2017-11-08 18:41:48 +01:00
Joakim Soderlund
faea33d7b2 Add JSON data format flavor 2017-11-08 18:39:55 +01:00
Joakim Soderlund
4a2956c3c3 Limit mappers to single story as parameter 2017-11-08 18:10:39 +01:00
Joakim Soderlund
ab2f2f3f88 Add meta format flavor 2017-11-08 17:26:11 +01:00
Joakim Soderlund
bdb7382e4e Add converters package 2017-11-08 16:59:22 +01:00
Joakim Soderlund
d9619e993a Add stamper to update task 2017-11-04 20:41:22 +01:00
Joakim Soderlund
81c4346f10 Add update stamper 2017-11-04 16:30:41 +01:00
Joakim Soderlund
0a862abcd0 Add member declaration to stampers module 2017-11-04 16:08:19 +01:00
Joakim Soderlund
c9eadd0c92 Add stampers module 2017-11-04 14:12:26 +01:00
Joakim Soderlund
55c7b95d93 Handle meta from APIv2 in update command formatter 2017-11-01 15:11:06 +01:00
Joakim Soderlund
b6718b96aa Return Arrow object from story date mapper 2017-10-25 22:08:24 +02:00
Joakim Soderlund
2493075669 Add refetch to update command arguments 2017-10-25 21:39:03 +02:00
Joakim Soderlund
c3b014d06e Add selector to update task arguments 2017-10-25 21:19:52 +02:00
Joakim Soderlund
a66ff04f32 Add selector for refetching data during updates 2017-10-25 19:47:03 +02:00
Joakim Soderlund
ea93849fd4 Fix bare except linter warning 2017-10-25 14:21:25 +02:00
Joakim Soderlund
51f1d9f901 Split fetchers module into package 2017-10-21 13:19:05 +02:00
Joakim Soderlund
87d6fe0052 Add update command 2017-10-15 02:25:59 +02:00
Joakim Soderlund
30252a8143 Add main module script 2017-10-14 15:35:05 +02:00
Joakim Soderlund
262038e95d Fix crash when no commands are available 2017-10-14 15:30:15 +02:00
Joakim Soderlund
6c0dfd2263 Add root application command module 2017-10-13 19:08:03 +02:00
Joakim Soderlund
8d0d738fd1 Add commands package 2017-10-13 13:59:16 +02:00
Joakim Soderlund
ffe822f5d4 Flatten tasks module imports 2017-09-23 23:44:39 +02:00
Joakim Soderlund
9d927592bb Convert signal receiver into a context manager 2017-09-23 22:31:00 +02:00
Joakim Soderlund
751528c4f3 Add missing self parameter in Selector base class 2017-09-06 20:24:54 +02:00
Joakim Soderlund
b097871279 Use variable annotation instead of comment 2017-08-02 02:06:04 +02:00
Joakim Soderlund
cea1fed78f Add initial static type checking 2017-08-02 01:49:26 +02:00
Joakim Soderlund
c41e7be45d Add update task 2017-08-01 23:09:11 +02:00
Joakim Soderlund
4bc306c6e0 Update fetcher to reflect changes in Fimfiction 2017-06-24 19:41:26 +02:00
Joakim Soderlund
9c7988b691 Add signals module 2017-06-24 16:39:19 +02:00
Joakim Soderlund
47a85ddd70 Add FimfarchiveFetcher timeout to prevent lockups 2017-05-01 10:49:53 +02:00
Joakim Soderlund
91eaea13b5 Fix selection for new password-protected stories 2017-02-17 22:32:39 +01:00
Joakim Soderlund
4ebe8fe29a Add merge method to Story 2017-01-29 00:06:15 +01:00
Joakim Soderlund
895f6cbf5a Minor style fix in utils 2017-01-21 23:41:01 +01:00
Joakim Soderlund
ce133355ad Add selectors module 2017-01-21 23:37:19 +01:00
Joakim Soderlund
2015d184d8 Add mapper for story date 2017-01-15 18:07:32 +01:00
Joakim Soderlund
21a98a9e72 Add utility for persisted dictionaries 2017-01-08 23:46:55 +01:00
Joakim Soderlund
306988dd36 Add utils module 2017-01-08 19:30:59 +01:00
Joakim Soderlund
3ef4a7aecc Add writers module 2017-01-08 00:38:38 +01:00
Joakim Soderlund
db1b1fdadc Add member declaration to mappers module 2017-01-07 22:57:05 +01:00
Joakim Soderlund
86559d9d5d Add mapper for story path 2017-01-07 22:55:12 +01:00
Joakim Soderlund
8209897df5 Add mappers module 2016-12-27 20:24:29 +01:00
Joakim Soderlund
0c4d0bd6fb Add member declarations to all modules 2016-12-19 17:59:03 +01:00
Joakim Soderlund
034bfb7419 Use flavors in fetchers and stories 2016-12-19 00:26:24 +01:00
Joakim Soderlund
8fcd9a9718 Add flavors module 2016-12-18 23:19:33 +01:00
Joakim Soderlund
80e105abb9 Implement fetch method in fetcher base class 2016-12-18 19:46:46 +01:00
Joakim Soderlund
dbebdfae98 Add default prefetch settings to fetchers 2016-12-18 19:02:57 +01:00
Joakim Soderlund
31c5925a53 Add stories module 2016-12-18 18:40:06 +01:00
Joakim Soderlund
dcc662a035 Reorder imports to follow PEP-8 2016-12-18 02:10:45 +01:00
Joakim Soderlund
86b1c9740a Do not require overriding close in fetchers 2016-12-18 02:01:22 +01:00
Joakim Soderlund
77af31923e Use streaming text decoding while parsing index 2016-12-18 00:06:01 +01:00
Joakim Soderlund
d09cff4866 Fix split chapters being reported as missing 2016-12-17 23:09:13 +01:00
Joakim Soderlund
0c0cdf8c3f Rename pk attribute to key in fetchers 2016-12-17 22:23:45 +01:00
Joakim Soderlund
70718593fd Add fetcher for Fimfarchive 2015-10-10 00:58:16 +02:00
Joakim Soderlund
3a67f97426 Remove unsued story permission exception 2015-10-02 13:03:38 +02:00
Joakim Soderlund
22a23862b4 Add fetcher for Fimfiction 2015-10-02 13:00:55 +02:00
Joakim Soderlund
6602c41e67 Add missing period to license comments 2015-10-01 23:17:49 +02:00
Joakim Soderlund
341b70d1c5 Add abstract base class for story fetchers 2015-10-01 19:42:50 +02:00
Joakim Soderlund
d01960d639 Add base class for Fimfarchive exceptions 2015-10-01 16:03:27 +02:00
Joakim Soderlund
c09f675687 Initial commit 2015-09-27 20:46:58 +02:00