summaryrefslogtreecommitdiffstats
path: root/parsers/caves.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-04-22 23:27:06 +0100
committerPhilip Sargent <philip.sargent@gmail.com>2023-04-22 23:27:06 +0100
commit8aec40f9515e98eb13628145e38a810724b721c4 (patch)
treeb5a92225fce8d726dcf3ea63fb0e9a437c850dbb /parsers/caves.py
parentc5a9bdc7248368d6ec8baa0f2061a3512ae7aaba (diff)
downloadtroggle-8aec40f9515e98eb13628145e38a810724b721c4.tar.gz
troggle-8aec40f9515e98eb13628145e38a810724b721c4.tar.bz2
troggle-8aec40f9515e98eb13628145e38a810724b721c4.zip
todo
Diffstat (limited to 'parsers/caves.py')
-rw-r--r--parsers/caves.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/parsers/caves.py b/parsers/caves.py
index e1ec8dc..97d3b0a 100644
--- a/parsers/caves.py
+++ b/parsers/caves.py
@@ -31,6 +31,10 @@ todo = """
- we want to overwrite a PENDING cave if we are now importing the 1623-xxx.html file for it
+- rewrite archaic regex
+ re.findall("<%(itemname)s>(.*?)</%(itemname)s>" % {"itemname": itemname}, text, re.S)
+ in modern form and pre-compile it.
+
- Semi-automagically import all the 1627- pending caves and create HTML files for them to be
edited individually. (These are caves we only know about because we have German survex files.)