diff --git a/README.md b/README.md index ce3afe4..4d2d8f2 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ print(archived_url) ``` This should print an URL similar to the following archived URL: - +> #### Receiving the oldest archive for an URL Using oldest() @@ -77,22 +77,18 @@ This should print an URL similar to the following archived URL: ```python import waybackpy # retrieving the oldest archive on Wayback machine. -# Default user-agent (UA) is "waybackpy python package", if not specified in the call. +# Default user_agent is "waybackpy python package". oldest_archive = waybackpy.oldest("https://www.google.com/", UA = "Any-User-Agent") print(oldest_archive) ``` This returns the oldest available archive for . - +> #### Receiving the newest archive for an URL using newest() -```diff -+ waybackpy.newest(url, UA=user_agent) -``` > url is mandatory. UA is not, but highly recommended. - ```python import waybackpy # retrieving the newest archive on Wayback machine.