forked from MarseyWorld/MarseyWorld
delete annoying padding
parent
6f88ef72f9
commit
2a2b299f70
|
@ -27,12 +27,10 @@ from files.routes.routehelpers import check_for_alts
|
||||||
|
|
||||||
def _archiveorg(url):
|
def _archiveorg(url):
|
||||||
try:
|
try:
|
||||||
requests.get(f'https://web.archive.org/save/{url}',
|
requests.get(f'https://web.archive.org/save/{url}', headers=HEADERS, timeout=10, proxies=proxies)
|
||||||
headers=HEADERS, timeout=10, proxies=proxies)
|
|
||||||
except: pass
|
except: pass
|
||||||
try:
|
try:
|
||||||
requests.post('https://ghostarchive.org/archive2', data={"archive": url},
|
requests.post('https://ghostarchive.org/archive2', data={"archive": url}, headers=HEADERS, timeout=10, proxies=proxies)
|
||||||
headers=HEADERS, timeout=10, proxies=proxies)
|
|
||||||
except: pass
|
except: pass
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue