mirror of https://github.com/CIRCL/lookyloo
commit
4494c9d722
|
@ -22,6 +22,8 @@ optional arguments:
|
||||||
--url URL URL of the instance (defaults to https://lookyloo.circl.lu/,
|
--url URL URL of the instance (defaults to https://lookyloo.circl.lu/,
|
||||||
the public instance).
|
the public instance).
|
||||||
--query QUERY URL to enqueue.
|
--query QUERY URL to enqueue.
|
||||||
|
--listing Should the report be publicly listed.
|
||||||
|
--redirects Get redirects for a given capture.
|
||||||
|
|
||||||
The response is the permanent URL where you can see the result of the capture.
|
The response is the permanent URL where you can see the result of the capture.
|
||||||
```
|
```
|
||||||
|
@ -37,3 +39,30 @@ if lookyloo.is_up: # to make sure it is up and reachable
|
||||||
permaurl = lookyloo.enqueue('http://url.to.lookup')
|
permaurl = lookyloo.enqueue('http://url.to.lookup')
|
||||||
|
|
||||||
```
|
```
|
||||||
|
You can add the following paramaters to the enqueue fuction:
|
||||||
|
```
|
||||||
|
quiet Return only the uuid
|
||||||
|
listing Should the report be publicly listed.
|
||||||
|
user_agent Set your own user agent
|
||||||
|
Depth Set the analysis depth. Can not be more than in config
|
||||||
|
```
|
||||||
|
To retrieve the redirects (json)
|
||||||
|
```python
|
||||||
|
redirect = lookyloo.get_redirects(uuid)
|
||||||
|
```
|
||||||
|
To retrieve the cookies (json)
|
||||||
|
```python
|
||||||
|
cookies = lookyloo.get_cookies(uuid)
|
||||||
|
```
|
||||||
|
To retrieve the screenshot (raw)
|
||||||
|
```python
|
||||||
|
screen = lookyloo.get_screenshot(uuid)
|
||||||
|
```
|
||||||
|
To retrieve the html (raw)
|
||||||
|
```python
|
||||||
|
html = lookyloo.get_html(uuid)
|
||||||
|
```
|
||||||
|
To retrieve the complete capture(raw)
|
||||||
|
```python
|
||||||
|
capture = lookyloo.get_complete_capture(uuid)
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue