stop duplicate archiving

pull/216/head
Aevann 2023-10-27 00:35:08 +03:00
parent db95791ad8
commit e29b0f37ee
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ def execute_snappy(post, v):
for href, title in captured:
if href == post.url: continue
if href.startswith(f'{SITE_FULL}/') or href.startswith(SITE_FULL_IMAGES): continue
if "Snapshots:\n\n" not in body: body += "Snapshots:\n\n"
if f'**[{title}]({href})**:\n\n' not in body: