diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2022-12-20 16:38:32 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2022-12-20 16:38:32 +0000 |
commit | dc3a61addd2440fc024d50adf6ba3369858ced3e (patch) | |
tree | 8510e8859a9f11bef3b69b272332ec311f6be583 /parsers/logbooks.py | |
parent | 9169abdb0549c35462fc5583bd62ee53921cd0e9 (diff) | |
download | troggle-dc3a61addd2440fc024d50adf6ba3369858ced3e.tar.gz troggle-dc3a61addd2440fc024d50adf6ba3369858ced3e.tar.bz2 troggle-dc3a61addd2440fc024d50adf6ba3369858ced3e.zip |
convert old logbooks to modern format
Diffstat (limited to 'parsers/logbooks.py')
-rw-r--r-- | parsers/logbooks.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py index aaa764a..e3d9d06 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -77,10 +77,10 @@ LOGBOOK_PARSER_SETTINGS = { "1989": ("log.htm", "parser_html_01"), #crashes MySQL "1988": ("log.htm", "parser_html_01"), #crashes MySQL "1987": ("log.htm", "parser_html_01"), #crashes MySQL - "1985": ("log.htm", "parser_html_01"), - "1984": ("log.htm", "parser_html_01"), - "1983": ("log.htm", "parser_html_01"), - "1982": ("log.htm", "parser_html_01"), + "1985": ("logbook.html", "parser_html"), + "1984": ("logbook.html", "parser_html"), + "1983": ("logbook.html", "parser_html"), + "1982": ("logbook.html", "parser_html"), } entries = { "2022": 86, "2019": 56, "2018": 100, "2017": 76, "2016": 83, "2015": 79, @@ -89,7 +89,7 @@ entries = { "2022": 86, "2019": 56, "2018": 100, "2017": 76, "2016": 83, "2015": "2001": 48, "2000": 54, "1999": 79, "1998": 43, "1997": 53, "1996": 95, "1995": 42, "1994": 32, "1993": 41, "1992": 62, "1991": 39, "1990": 87, "1989": 1,"1988": 1,"1987": 1, "1985": 24, "1984": 32, "1983": 52, "1982": 42,} -# Logbooks log.htm exist for 1983, 84, 85, 87, 88, 89 but have no full-working parser, or need hand-editing. +# Logbooks log.htm exist for 87, 88, 89 but have no full-working parser, or need hand-editing. logentries = [] # the entire logbook for one year is a single object: a list of entries noncaveplaces = [ "Journey", "Loser Plateau", "UNKNOWN", 'plateau', |