From e08b4275a9b9612d3ce1d14b4c66dd4d54c7f986 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 12 Apr 2020 23:03:00 +0100 Subject: 2010 is html format not wiki format. Or at least, now it is. --- parsers/logbooks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parsers/logbooks.py') diff --git a/parsers/logbooks.py b/parsers/logbooks.py index 9f47d4f..9971ed6 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -133,7 +133,7 @@ def ParseDate(tripdate, year): assert False, tripdate return datetime.date(year, month, day) -# 2006, 2008 - 2010 +# 2006, 2008 - 2009 def Parselogwikitxt(year, expedition, txt): trippara = re.findall(r"===(.*?)===([\s\S]*?)(?====)", txt) for triphead, triptext in trippara: @@ -158,7 +158,7 @@ def Parselogwikitxt(year, expedition, txt): #print "\n", tripcave, "--- ppp", trippeople, len(triptext) EnterLogIntoDbase(date = ldate, place = tripcave, title = tripplace, text = triptext, trippeople=trippeople, expedition=expedition, logtime_underground=0) -# 2002, 2004, 2005, 2007, 2011 - 2018 +# 2002, 2004, 2005, 2007, 2010 - 2018 def Parseloghtmltxt(year, expedition, txt): #print(" - Starting log html parser") tripparas = re.findall(r"([\s\S]*?)(?=