mirror of https://github.com/CIRCL/lookyloo
fix: incorrect call to is_up
parent
af98c2b075
commit
f0754b60fa
client
|
@ -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')
|
||||
|
||||
```
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "pylookyloo"
|
||||
version = "0.6"
|
||||
version = "0.7"
|
||||
description = "Python client for Lookyloo"
|
||||
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
|
||||
license = "AGPL-3.0-or-later"
|
||||
|
|
Loading…
Reference in New Issue