delete annoying padding

master
Aevann 2023-09-09 20:06:32 +03:00
parent 6f88ef72f9
commit 2a2b299f70
1 changed files with 2 additions and 4 deletions

View File

@ -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