lookyloo/client
Raphaël Vinot c2fd7c8280 chg: Bump deps 2020-06-29 18:01:54 +02:00
..
pylookyloo new: Add query for redirects in client 2020-06-26 18:11:22 +02:00
README.md Update README.md 2020-06-08 17:43:45 +02:00
poetry.lock chg: Bump deps 2020-06-29 18:01:54 +02:00
pyproject.toml chg: Cleanup deps, use tagged versions 2020-06-10 18:41:03 +02:00
setup.py chg: Cleanup deps, use tagged versions 2020-06-10 18:41:03 +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')