diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2022-12-07 18:22:09 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2022-12-07 18:22:09 +0000 |
commit | 17b2b7b89c2ce34471251a64a1f7c9e416a1c869 (patch) | |
tree | e6b6c0bec923aa4215dea53c6a5f32de9c0f504b /parsers/logbooks.py | |
parent | 1eab261b3034100afed6e2b4ea2303641176eb93 (diff) | |
download | troggle-17b2b7b89c2ce34471251a64a1f7c9e416a1c869.tar.gz troggle-17b2b7b89c2ce34471251a64a1f7c9e416a1c869.tar.bz2 troggle-17b2b7b89c2ce34471251a64a1f7c9e416a1c869.zip |
fix comments and 2019 LB parsing
Diffstat (limited to 'parsers/logbooks.py')
-rw-r--r-- | parsers/logbooks.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py index bf7039d..b67369c 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -44,6 +44,9 @@ todo=''' - this is a slow and uncertain function: cave = getCaveByReference(caveRef) +- use Fixtures https://docs.djangoproject.com/en/4.1/ref/django-admin/#django-admin-loaddata to cache +data for old logbooks. New design needed, with a mechanism for flagging fixtures as outdated after edits. + ''' MAX_LOGBOOK_ENTRY_TITLE_LENGTH = 200 DEFAULT_LOGBOOK_PARSER = "parser_html" @@ -83,7 +86,7 @@ LOGBOOK_PARSER_SETTINGS = { "1982": ("log.htm", "parser_html_01"), } -entries = { "2022": 64, "2019": 55, "2018": 74, "2017": 60, "2016": 81, "2015": 79, +entries = { "2022": 64, "2019": 56, "2018": 74, "2017": 60, "2016": 81, "2015": 79, "2014": 65, "2013": 51, "2012": 75, "2011": 68, "2010": 22, "2009": 52, "2008": 49, "2007": 111, "2006": 60, "2005": 55, "2004": 76, "2003": 40, "2002": 31, "2001": 48, "2000": 54, "1999": 79, "1998": 43, "1997": 53, "1996": 94, "1995": 41, |