parse several UK caving blogs per year - working

This commit is contained in:
2022-12-16 19:57:56 +00:00
parent 5e9fd7fd77
commit f80e4efed8
4 changed files with 129 additions and 78 deletions

View File

@@ -43,8 +43,9 @@ def import_logbooks():
def import_logbook(year=2019):
print(f"-- Importing Logbook {year}")
with transaction.atomic():
troggle.parsers.logbooks.LoadLogbook(year, format="blog")
print(f"-- - commented out")
# with transaction.atomic():
# troggle.parsers.logbooks.LoadLogbook(year, format="cucc")
def import_QMs():
print("-- Importing old QMs for 161, 204, 234 from CSV files")