Update wrapper.py
This commit is contained in:
parent
a0a918cf0d
commit
fd163f3d36
@ -189,10 +189,6 @@ class Url:
|
|||||||
headers = {"User-Agent": "%s" % self.user_agent}
|
headers = {"User-Agent": "%s" % self.user_agent}
|
||||||
payload = {"url": "%s" % self._clean_url(), "timestamp" : timestamp}
|
payload = {"url": "%s" % self._clean_url(), "timestamp" : timestamp}
|
||||||
response = _get_response(endpoint, params=payload, headers=headers)
|
response = _get_response(endpoint, params=payload, headers=headers)
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
print(response.text)
|
|
||||||
>>>>>>> bc3efc7d63621b319606f3241498be9df107b794
|
|
||||||
data = response.json()
|
data = response.json()
|
||||||
if not data["archived_snapshots"]:
|
if not data["archived_snapshots"]:
|
||||||
raise WaybackError(
|
raise WaybackError(
|
||||||
|
Loading…
Reference in New Issue
Block a user