diff options
Diffstat (limited to 'parsers/logbooks.py')
-rw-r--r-- | parsers/logbooks.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py index 3ae1a11..86ff796 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -256,6 +256,8 @@ def tidy_trip_image_urls(text, date): text = text.replace(f' src="/years/{y}//years/{y}/', f' src="/years/{y}/') text = text.replace(f" src='/years/{y}//years/{y}/", f" src='/years/{y}/") + text = text.replace(f'http://expo.survex.com/expofiles', f'/expofiles') + text = text.replace(f' src="/years/{y}//expofiles/', f' src="/expofiles/') text = text.replace(f" src='/years/{y}//expofiles/", f" src='/expofiles/") |