Commit Graph

29 Commits

Author SHA1 Message Date
NateScarlet
3de3aecffa
fix: unexpected data file change 2022-04-22 15:19:08 +08:00
NateScarlet
78b4552627
refactor: replace SentenceParser._parse_special with pre-parsed papers 2022-04-20 20:27:51 +08:00
NateScarlet
853f1bcabc
fix: missing holiday in 2011
close #145

Co-authored-by: CoderX <chinabluesky335@gmail.com>
2022-02-26 16:44:36 +08:00
NateScarlet
eff814f12b
chore: change error message 2021-09-24 20:35:22 +08:00
NateScarlet
b673f3770c
feat: check http status code 2021-09-24 20:33:12 +08:00
NateScarlet
68d591d058
refactor: reduce import modules 2021-09-24 20:20:09 +08:00
NateScarlet
a3cfca7a4d
feat: raise error when paper not found for past years 2021-09-24 20:18:40 +08:00
NateScarlet
d72e68cb19
docs: correct typo in error message 2021-09-22 19:42:50 +08:00
NateScarlet
58728f0c79
fix: missing holidays in 2015
fix #125
2021-09-22 19:32:57 +08:00
NateScarlet
c79acdc39d
style: use black as formatter 2021-09-22 19:22:48 +08:00
NateScarlet
45ab4d5407
fix: missing 2020-01-31
fix #73
2020-09-07 22:33:33 +08:00
NateScarlet
d84dabea44
fix: handle 2020-02 patch rule
fix #50
2020-02-08 17:12:58 +08:00
NateScarlet
0213768511
fix: use consist paper url order 2019-09-20 19:07:35 +08:00
NateScarlet
f2bde6659a
refactor: reduce complexity 2019-07-16 23:55:03 +08:00
NateScarlet
a384323bb5
refactor: remove unused logger 2019-07-16 23:21:57 +08:00
NateScarlet
dcd35fa511
fix: handle holiday change
fix #14
2019-07-16 23:09:23 +08:00
NateScarlet
8bc5ca66a8
Fix broken test 2019-03-10 00:59:53 +08:00
NateScarlet
b04a46ac71
Refactor fetch_holidays.py 2019-03-10 00:55:32 +08:00
NateScarlet
afcc7c3972
Simplify code 2019-03-09 20:29:39 +08:00
NateScarlet
73becdc0c9
Fix missiong days in 2007, 2011 2019-03-09 19:35:24 +08:00
NateScarlet
350ceab783
Refactor code 2019-03-09 12:27:41 +08:00
NateScarlet
9324d6eaaf
Handle \u3000 used in 2016 2019-03-09 01:10:53 +08:00
NateScarlet
679f766a33
Setup update script and add past data 2019-03-09 00:40:13 +08:00
NateScarlet
32b4b65771
Add 2014 test case 2019-03-08 23:42:54 +08:00
NateScarlet
3311176755
Implement paper parsing 2019-03-08 23:14:27 +08:00
NateScarlet
68e3d12722
Implement parsing (WIP) 2019-03-08 00:41:27 +08:00
NateScarlet
5f68f773a7
Implement parsing (WIP) 2019-03-08 00:23:52 +08:00
NateScarlet
e6b04e9b25
Implement parsing (WIP) 2019-03-08 00:12:49 +08:00
NateScarlet
4bcf0aed87
Prepare test data 2019-03-06 21:41:31 +08:00