diff --git a/files/helpers/actions.py b/files/helpers/actions.py index 1f2e5c831..e181020ae 100644 --- a/files/helpers/actions.py +++ b/files/helpers/actions.py @@ -27,12 +27,10 @@ from files.routes.routehelpers import check_for_alts def _archiveorg(url): try: - requests.get(f'https://web.archive.org/save/{url}', - headers=HEADERS, timeout=10, proxies=proxies) + requests.get(f'https://web.archive.org/save/{url}', headers=HEADERS, timeout=10, proxies=proxies) except: pass try: - requests.post('https://ghostarchive.org/archive2', data={"archive": url}, - headers=HEADERS, timeout=10, proxies=proxies) + requests.post('https://ghostarchive.org/archive2', data={"archive": url}, headers=HEADERS, timeout=10, proxies=proxies) except: pass