import re

start_url = "https://z...content-available-to-author-only...o.fr"
start_url = re.sub(r'/([^/]+)$', r'/\1/', start_url)
print(start_url)