c
This commit is contained in:
parent
b808055097
commit
ac7da85db1
7 changed files with 6 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue