print archive.org exceptions

master
Aevann1 2022-09-02 19:43:16 +02:00
parent b416f2fb67
commit 03f37e4972
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def badge_grant(user, badge_id, description=None, url=None):
def archiveorg(url):
try: requests.get(f'https://web.archive.org/save/{url}', headers={'User-Agent': 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)'}, timeout=100)
except: pass
except Exception as e: print(e, flush=True)
def execute_snappy(post, v):
snappy = get_account(SNAPPY_ID)