diff --git a/parsers/logbooks.py b/parsers/logbooks.py index b94f597..52c88b4 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -239,6 +239,9 @@ 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' src="/years/{y}/expofiles/', f' src="/expofiles/') + text = text.replace(f" src='/years/{y}/expofiles/", f" src='/expofiles/") + text = text.replace("\t", "") text = text.replace("\n\n\n", "\n\n") return text