pylookyloo 1.31.1__tar.gz → 1.32.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pylookyloo might be problematic. Click here for more details.
- {pylookyloo-1.31.1 → pylookyloo-1.32.0}/PKG-INFO +3 -3
- {pylookyloo-1.31.1 → pylookyloo-1.32.0}/pylookyloo/api.py +3 -3
- {pylookyloo-1.31.1 → pylookyloo-1.32.0}/pyproject.toml +5 -5
- {pylookyloo-1.31.1 → pylookyloo-1.32.0}/LICENSE +0 -0
- {pylookyloo-1.31.1 → pylookyloo-1.32.0}/README.md +0 -0
- {pylookyloo-1.31.1 → pylookyloo-1.32.0}/pylookyloo/__init__.py +0 -0
- {pylookyloo-1.31.1 → pylookyloo-1.32.0}/pylookyloo/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: pylookyloo
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.32.0
|
|
4
4
|
Summary: Python CLI and module for Lookyloo
|
|
5
5
|
License: GPL-2.0-or-later
|
|
6
6
|
Author: Raphaël Vinot
|
|
@@ -24,8 +24,8 @@ Classifier: Topic :: Security
|
|
|
24
24
|
Provides-Extra: docs
|
|
25
25
|
Provides-Extra: examples
|
|
26
26
|
Requires-Dist: Sphinx (>=8.2.3) ; (python_version >= "3.11") and (extra == "docs")
|
|
27
|
-
Requires-Dist: pylacus (>=1.
|
|
28
|
-
Requires-Dist: requests (>=2.32.
|
|
27
|
+
Requires-Dist: pylacus (>=1.17.0) ; extra == "examples"
|
|
28
|
+
Requires-Dist: requests (>=2.32.5)
|
|
29
29
|
Project-URL: Documentation, https://pylookyloo.readthedocs.io/en/latest/
|
|
30
30
|
Project-URL: Repository, https://github.com/lookyloo/PyLookyloo
|
|
31
31
|
Project-URL: issues, https://github.com/lookyloo/PyLookyloo/issues
|
|
@@ -89,7 +89,7 @@ class CompareSettings(TypedDict, total=False):
|
|
|
89
89
|
|
|
90
90
|
class Lookyloo():
|
|
91
91
|
|
|
92
|
-
def __init__(self, root_url: str=
|
|
92
|
+
def __init__(self, root_url: str | None=None, useragent: str | None=None,
|
|
93
93
|
*, proxies: dict[str, str] | None=None, verify: bool | str=True) -> None:
|
|
94
94
|
'''Query a specific lookyloo instance.
|
|
95
95
|
|
|
@@ -97,7 +97,7 @@ class Lookyloo():
|
|
|
97
97
|
:param useragent: The User Agent used by requests to run the HTTP requests against Lookyloo, it is *not* passed to the captures.
|
|
98
98
|
:param proxies: The proxies to use to connect to lookyloo (not the ones given to the capture itself) - More details: https://requests.readthedocs.io/en/latest/user/advanced/#proxies
|
|
99
99
|
'''
|
|
100
|
-
self.root_url = root_url
|
|
100
|
+
self.root_url = root_url if root_url else 'https://lookyloo.circl.lu/'
|
|
101
101
|
self.apikey: str | None = None
|
|
102
102
|
|
|
103
103
|
if not urlparse(self.root_url).scheme:
|
|
@@ -462,7 +462,7 @@ class Lookyloo():
|
|
|
462
462
|
|
|
463
463
|
:param capture_uuid: UUID of the capture
|
|
464
464
|
'''
|
|
465
|
-
r = self.session.get(urljoin(self.root_url, str(PurePosixPath('json', capture_uuid, '
|
|
465
|
+
r = self.session.get(urljoin(self.root_url, str(PurePosixPath('json', capture_uuid, 'storage_state'))))
|
|
466
466
|
return r.json()
|
|
467
467
|
|
|
468
468
|
def get_html(self, capture_uuid: str) -> StringIO:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pylookyloo"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.32.0"
|
|
4
4
|
description = "Python CLI and module for Lookyloo"
|
|
5
5
|
authors = [
|
|
6
6
|
{name="Raphaël Vinot", email="raphael.vinot@circl.lu"}
|
|
@@ -12,7 +12,7 @@ requires-python = ">=3.9"
|
|
|
12
12
|
dynamic = [ "classifiers" ]
|
|
13
13
|
|
|
14
14
|
dependencies = [
|
|
15
|
-
"requests (>=2.32.
|
|
15
|
+
"requests (>=2.32.5)"
|
|
16
16
|
]
|
|
17
17
|
|
|
18
18
|
[project.urls]
|
|
@@ -37,11 +37,11 @@ lookyloo = 'pylookyloo:main'
|
|
|
37
37
|
|
|
38
38
|
[project.optional-dependencies]
|
|
39
39
|
docs = ["Sphinx (>=8.2.3) ; python_version >= \"3.11\""]
|
|
40
|
-
examples = ["pylacus (>=1.
|
|
40
|
+
examples = ["pylacus (>=1.17.0)"]
|
|
41
41
|
|
|
42
42
|
[tool.poetry.group.dev.dependencies]
|
|
43
|
-
mypy = "^1.
|
|
44
|
-
types-requests = "^2.32.4.
|
|
43
|
+
mypy = "^1.17.1"
|
|
44
|
+
types-requests = "^2.32.4.20250809"
|
|
45
45
|
pytest = "^8.4.1"
|
|
46
46
|
|
|
47
47
|
[build-system]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|