command_line support (#18)

* Update wrapper.py

* entry points cli

* Suppress the urllib2/3 Exception

* rm cli code, will create a new cli.py file

* Create cli.py

* update cli entry pts

* Update cli.py

* Update cli.py

* import print_function

* Update cli.py

* Update cli.py

* Delete pypi_uploader.sh

* resolve conflicts with the master

* update the test ; resolve the conflicts

* decrease code complexity

* cli method changed to main

* get is not for just local usage

* get method should be available from interface

* get is used in the interface

* Update cli.py
This commit is contained in:
Akash
2020-07-22 16:40:13 +05:30
committed by GitHub
parent 3bfc3b46d0
commit dee9105794
5 changed files with 109 additions and 14 deletions

View File

@@ -146,7 +146,8 @@ def test_newest():
def test_get():
target = waybackpy.Url("google.com", user_agent)
assert "Welcome to Google" in target._get(target.oldest())
assert "Welcome to Google" in target.get(target.oldest())
def test_wayback_timestamp():