retries support for get requests

This commit is contained in:
Akash Mahanty
2021-01-06 01:58:38 +05:30
parent 15ef5816db
commit a2550f17d7
5 changed files with 36 additions and 23 deletions

View File

@@ -223,7 +223,7 @@ def test_total_archives():
def test_known_urls():
target = waybackpy.Url("akamhy.github.io", user_agent)
assert len(target.known_urls(alive=True, subdomain=True)) > 2
assert len(target.known_urls(alive=True, subdomain=False)) > 2
target = waybackpy.Url("akamhy.github.io", user_agent)
assert len(target.known_urls()) > 3