Update wrapper.py

This commit is contained in:
Akash Mahanty 2020-12-13 17:12:32 +05:30 committed by GitHub
parent a0a918cf0d
commit fd163f3d36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,10 +189,6 @@ class Url:
headers = {"User-Agent": "%s" % self.user_agent}
payload = {"url": "%s" % self._clean_url(), "timestamp" : timestamp}
response = _get_response(endpoint, params=payload, headers=headers)
<<<<<<< HEAD
=======
print(response.text)
>>>>>>> bc3efc7d63621b319606f3241498be9df107b794
data = response.json()
if not data["archived_snapshots"]:
raise WaybackError(