This commit is contained in:
Aevann1 2021-08-11 20:57:12 +02:00
parent e95edb6dbb
commit acf3ea6555
6 changed files with 31 additions and 4 deletions

View file

@ -786,7 +786,6 @@ def submit_post(v):
url = url.replace("https://mobile.twitter.com", "https://twitter.com")
if url.startswith("https://streamable.com/") and not url.startswith("https://streamable.com/e/"):
url = url.replace("https://streamable.com/", "https://streamable.com/e/")
# if url.startswith("https://old.reddit.com/") and '/comments/' in url and '?' not in url: url += "?sort=controversial"
title_html = sanitize(title, linkgen=True, flair=True)