From ae693ca4c5c0327b21da6a8118bc7b0b4dadf8ce Mon Sep 17 00:00:00 2001 From: Wookey Date: Thu, 15 Sep 2011 12:12:18 +0100 Subject: [PATCH] Add 2010 and 2011 logbooks to parsing list (can we make this auto somehow - by agreeing a logbook format, or letting it guess)? --- parsers/logbooks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parsers/logbooks.py b/parsers/logbooks.py index c794f9f..9c5b106 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -253,6 +253,8 @@ def Parseloghtml03(year, expedition, txt): EnterLogIntoDbase(date = ldate, place = tripcave, title = triptitle, text = ltriptext, trippeople=trippeople, expedition=expedition, logtime_underground=0) yearlinks = [ + ("2011", "2011/logbook.html", Parseloghtmltxt), + ("2010", "2010/logbook.html", Parselogwikitxt), ("2009", "2009/2009logbook.txt", Parselogwikitxt), ("2008", "2008/2008logbook.txt", Parselogwikitxt), ("2007", "2007/logbook.html", Parseloghtmltxt),