forked from rDrama/rDrama
1
0
Fork 0

fix snappy

master
Aevann1 2022-06-24 22:52:38 +02:00
parent a2a9c2666d
commit cbdf3f0a18
1 changed files with 0 additions and 2 deletions

View File

@ -1144,8 +1144,6 @@ def submit_post(v, sub=None):
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* [ghostarchive.org](https://ghostarchive.org/search?term={quote(newposturl)}) (click to archive)\n\n"
gevent.spawn(archiveorg, newposturl)
body = body.strip()
captured = []
for i in list(snappy_url_regex.finditer(post.body_html)):
if i.group(0) in captured: continue