La forme canonique des urls d'événements prend un / à la fin
This commit is contained in:
parent
31c9f79d3f
commit
54cbf8e0eb
@ -244,9 +244,9 @@ class FacebookEventExtractor(Extractor):
|
|||||||
result = match[1] + "/" + match[3]
|
result = match[1] + "/" + match[3]
|
||||||
|
|
||||||
if result[-1] == "/":
|
if result[-1] == "/":
|
||||||
return result[:-1]
|
|
||||||
else:
|
|
||||||
return result
|
return result
|
||||||
|
else:
|
||||||
|
return result + "/"
|
||||||
else:
|
else:
|
||||||
return url
|
return url
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user