This commit is contained in:
Aevann1 2022-03-26 13:36:25 +02:00
parent b808055097
commit ac7da85db1
7 changed files with 6 additions and 5 deletions

View file

@ -1236,6 +1236,7 @@ def submit_post(v, sub=None):
rev = post.url.replace('https://old.reddit.com/', '')
rev = f"* [unddit.com](https://unddit.com/{rev})\n"
else: rev = ''
newposturl = post.url
if newposturl.startswith('/'): newposturl = f"{SITE_FULL}{newposturl}"
body += f"Snapshots:\n\n{rev}* [archive.org](https://web.archive.org/{newposturl})\n* [archive.ph](https://archive.ph/?url={quote(newposturl)}&run=1) (click to archive)\n\n"