From 2a2b299f70e6c64b3d864832af9b8018302c6324 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 9 Sep 2023 20:06:32 +0300 Subject: [PATCH] delete annoying padding --- files/helpers/actions.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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