diff --git a/client/README.md b/client/README.md index 6757794..520b39b 100644 --- a/client/README.md +++ b/client/README.md @@ -33,7 +33,7 @@ The response is the permanent URL where you can see the result of the capture. from pylookyloo import Lookyloo lookyloo = Lookyloo('https://url.of.lookyloo.instance') -if lookyloo.is_up(): # to make sure it is up and reachable +if lookyloo.is_up: # to make sure it is up and reachable permaurl = lookyloo.enqueue('http://url.to.lookup') ``` diff --git a/client/pylookyloo/__init__.py b/client/pylookyloo/__init__.py index 58af1af..26c5211 100644 --- a/client/pylookyloo/__init__.py +++ b/client/pylookyloo/__init__.py @@ -14,7 +14,7 @@ def main(): else: lookyloo = Lookyloo() - if lookyloo.is_up(): + if lookyloo.is_up: url = lookyloo.enqueue(args.query) print(url) else: diff --git a/client/pyproject.toml b/client/pyproject.toml index 10c9146..1e7b504 100644 --- a/client/pyproject.toml +++ b/client/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pylookyloo" -version = "0.6" +version = "0.7" description = "Python client for Lookyloo" authors = ["Raphaƫl Vinot "] license = "AGPL-3.0-or-later"