Update wrapper.py

This commit is contained in:
Akash 2020-07-22 10:52:43 +05:30 committed by GitHub
parent 1ea9548d46
commit cd9841713c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ class Url:
raise exc
return response
def near(self, **kwargs):
def near(self, year=None, month=None, day=None, hour=None, minute=None):
""" Returns the archived from Wayback Machine for an URL closest to the time supplied.
Supported params are year, month, day, hour and minute.
The non supplied parameters are default to the runtime time.