update message, sometimes raised for poor performance by wayback machine even if the url is archived.
This commit is contained in:
parent
8a4b631c13
commit
ca9186c301
@ -140,7 +140,7 @@ class Url:
|
||||
data = json.loads(response.read().decode("UTF-8"))
|
||||
if not data["archived_snapshots"]:
|
||||
raise WaybackError(
|
||||
"'%s' is not yet archived. Use wayback.Url(url, user_agent).save() "
|
||||
"Can not find archive for '%s' try later or use wayback.Url(url, user_agent).save() "
|
||||
"to create a new archive." % self._clean_url()
|
||||
)
|
||||
archive_url = data["archived_snapshots"]["closest"]["url"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user