pylookyloo 1.21.1__tar.gz → 1.22.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.21.1 → pylookyloo-1.22.0}/PKG-INFO +1 -1
- {pylookyloo-1.21.1 → pylookyloo-1.22.0}/pylookyloo/api.py +8 -0
- {pylookyloo-1.21.1 → pylookyloo-1.22.0}/pyproject.toml +3 -3
- {pylookyloo-1.21.1 → pylookyloo-1.22.0}/LICENSE +0 -0
- {pylookyloo-1.21.1 → pylookyloo-1.22.0}/README.md +0 -0
- {pylookyloo-1.21.1 → pylookyloo-1.22.0}/pylookyloo/__init__.py +0 -0
- {pylookyloo-1.21.1 → pylookyloo-1.22.0}/pylookyloo/py.typed +0 -0
|
@@ -347,6 +347,14 @@ class Lookyloo():
|
|
|
347
347
|
r = self.session.get(urljoin(self.root_url, str(Path('bin', capture_uuid, 'screenshot'))))
|
|
348
348
|
return BytesIO(r.content)
|
|
349
349
|
|
|
350
|
+
def get_data(self, capture_uuid: str) -> BytesIO:
|
|
351
|
+
'''Returns the downloaded data.
|
|
352
|
+
|
|
353
|
+
:param capture_uuid: UUID of the capture
|
|
354
|
+
'''
|
|
355
|
+
r = self.session.get(urljoin(self.root_url, str(Path('bin', capture_uuid, 'data'))))
|
|
356
|
+
return BytesIO(r.content)
|
|
357
|
+
|
|
350
358
|
def get_cookies(self, capture_uuid: str) -> List[Dict[str, str]]:
|
|
351
359
|
'''Returns the complete cookies jar.
|
|
352
360
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "pylookyloo"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.22.0"
|
|
4
4
|
description = "Python CLI and module for Lookyloo"
|
|
5
5
|
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
|
|
6
6
|
license = "BSD-3-Clause"
|
|
@@ -39,8 +39,8 @@ Sphinx = [
|
|
|
39
39
|
]
|
|
40
40
|
|
|
41
41
|
[tool.poetry.group.dev.dependencies]
|
|
42
|
-
mypy = "^1.
|
|
43
|
-
types-requests = "^2.31.0.
|
|
42
|
+
mypy = "^1.6.0"
|
|
43
|
+
types-requests = "^2.31.0.9"
|
|
44
44
|
ipython = [
|
|
45
45
|
{version = "<8.13.0", python = "<3.9"},
|
|
46
46
|
{version = "^8.13.0", python = ">=3.9"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|