La forme canonique des urls d'événements prend un / à la fin

This commit is contained in:
Jean-Marie Favreau 2024-10-17 19:37:06 +02:00
parent 31c9f79d3f
commit 54cbf8e0eb

View File

@ -244,9 +244,9 @@ class FacebookEventExtractor(Extractor):
result = match[1] + "/" + match[3]
if result[-1] == "/":
return result[:-1]
else:
return result
else:
return result + "/"
else:
return url