lookyloo/client
Raphaël Vinot 5cf109ce56 chg: Bump dependencies 2020-05-05 00:33:11 +02:00
..
pylookyloo fix: Incorrect commit 2020-04-21 18:57:06 +02:00
README.md fix: incorrect call to is_up 2020-03-17 15:13:52 +01:00
poetry.lock chg: Bump dependencies 2020-04-21 22:26:12 +02:00
pyproject.toml fix: incorrect call to is_up 2020-03-17 15:13:52 +01:00
setup.py chg: Bump dependencies 2020-05-05 00:33:11 +02:00

README.md

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.

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')