summaryrefslogtreecommitdiffstats
path: root/parsers
diff options
context:
space:
mode:
Diffstat (limited to 'parsers')
-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.)