Update README.md

This commit is contained in:
akamhy
2020-05-05 08:46:12 +05:30
committed by GitHub
parent 8241206438
commit 0f1004bfc6

View File

@@ -109,7 +109,7 @@ returns : <http://web.archive.org/web/20100504071154/http://www.facebook.com/>
```waybackpy.near("https://www.oracle.com/index.html", year=2019, month=1, day=5, UA ="Any-User-Agent")``` returns: <http://web.archive.org/web/20190105054437/https://www.oracle.com/index.html>
> Please note that if you only specify the year, the current month and day are default arguments for month and day respectively. Do not expect just putting the year parameter would return the archive closer to January but the current month you are using the package. If you are using it in July 2018 and let's say you use ```waybackpy.near("https://www.facebook.com/", year=2011, UA ="Any-User-Agent")``` then you would be returned the nearest archive to July 2011 and not January 2011. You need to specify the month "1" for January.
> Do not pad (use zeros in month, year, day, minute and hour arguments).
> Do not pad (don't use zeros in month, year, day, minute and hour arguments). e.g. For January, set month = 1 and not month = 01.
#### Get the content of webpage using get().