Python CLI and module for Lookyloo
Project description
PyLookyloo
This is the client API for Lookyloo.
Installation
pip install pylookyloo
Usage
- You can use the lookyloo command to enqueue an URL.
usage: lookyloo [-h] [--url URL] --query QUERY
Enqueue a URL on Lookyloo.
optional arguments:
-h, --help show this help message and exit
--url URL URL of the instance (defaults to https://lookyloo.circl.lu/,
the public instance).
--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.
- Or as a library
from pylookyloo import Lookyloo
lookyloo = Lookyloo('https://url.of.lookyloo.instance')
if lookyloo.is_up: # to make sure it is up and reachable
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)
redirect = lookyloo.get_redirects(uuid)
To retrieve the cookies (json)
cookies = lookyloo.get_cookies(uuid)
To retrieve the screenshot (raw)
screen = lookyloo.get_screenshot(uuid)
To retrieve the html (raw)
html = lookyloo.get_html(uuid)
To retrieve the complete capture(raw)
capture = lookyloo.get_complete_capture(uuid)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylookyloo-1.2.4.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file pylookyloo-1.2.4.tar.gz
.
File metadata
- Download URL: pylookyloo-1.2.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.3 CPython/3.8.5 Linux/5.4.0-51-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 647466d66adaf1b45694982373c3a16fcdb227f7d6900ab72870fbc3f485af62 |
|
MD5 | e73bd3ce314a6cfc5c7c28c4835c9a7f |
|
BLAKE2b-256 | df75826c20c9a1e909a4c23eb079b67a849da3c85f79a2ab5ec34eca9e6e576d |
File details
Details for the file pylookyloo-1.2.4-py3-none-any.whl
.
File metadata
- Download URL: pylookyloo-1.2.4-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.3 CPython/3.8.5 Linux/5.4.0-51-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7573f921c77f6fd3b64a75713b6d48aa441d46a03beb1834cb1513fa40dc0f9f |
|
MD5 | 4a543136e44f5a962e37c9d6d975d826 |
|
BLAKE2b-256 | b099f8a13dda2a3ae5906607d58f67625656e8ffb36f4ecda5b3f3e8459aa82a |