pylookyloo 1.21.0__py3-none-any.whl → 1.22.0__py3-none-any.whl

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/api.py CHANGED
@@ -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
  Metadata-Version: 2.1
2
2
  Name: pylookyloo
3
- Version: 1.21.0
3
+ Version: 1.22.0
4
4
  Summary: Python CLI and module for Lookyloo
5
5
  Home-page: https://github.com/lookyloo/PyLookyloo
6
6
  License: BSD-3-Clause
@@ -22,7 +22,8 @@ Classifier: Programming Language :: Python :: 3.11
22
22
  Classifier: Topic :: Internet
23
23
  Classifier: Topic :: Security
24
24
  Provides-Extra: docs
25
- Requires-Dist: Sphinx (>=7.0.1,<8.0.0) ; extra == "docs"
25
+ Requires-Dist: Sphinx (<7.2) ; (python_version < "3.9") and (extra == "docs")
26
+ Requires-Dist: Sphinx (>=7.2,<8.0) ; (python_version >= "3.9") and (extra == "docs")
26
27
  Requires-Dist: requests (>=2.31.0,<3.0.0)
27
28
  Project-URL: Documentation, https://pylookyloo.readthedocs.io/en/latest/
28
29
  Project-URL: Repository, https://github.com/lookyloo/PyLookyloo
@@ -0,0 +1,9 @@
1
+ README.md,sha256=zID_EJe_yZ1IDbR6L3NZGBKM9IFapEgP8hakDlhN118,959
2
+ pylookyloo/__init__.py,sha256=BbhU5P5EQH4wvhuB_sW2HshKk1Xgg92DondIHeQWM14,1774
3
+ pylookyloo/api.py,sha256=SM3oM3_ZUa2PAcL3NqTCp5JQJ9nS6IafND27owxESbc,20849
4
+ pylookyloo/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ pylookyloo-1.22.0.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
6
+ pylookyloo-1.22.0.dist-info/METADATA,sha256=zaI25D24hu9MHyxpVY9_7mKk2WwHWP1gl3A44AGFKHM,2289
7
+ pylookyloo-1.22.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
8
+ pylookyloo-1.22.0.dist-info/entry_points.txt,sha256=y2c0Ujg8co6Xyf7MoxStVU-fLQMZBSGAg-KFidmsha4,44
9
+ pylookyloo-1.22.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.6.1
2
+ Generator: poetry-core 1.7.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,9 +0,0 @@
1
- README.md,sha256=zID_EJe_yZ1IDbR6L3NZGBKM9IFapEgP8hakDlhN118,959
2
- pylookyloo/__init__.py,sha256=BbhU5P5EQH4wvhuB_sW2HshKk1Xgg92DondIHeQWM14,1774
3
- pylookyloo/api.py,sha256=Bjrzicv9dAKkRMbg39c-ZU5Lgq12NF9_Qnq3tVo6AbY,20565
4
- pylookyloo/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- pylookyloo-1.21.0.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
6
- pylookyloo-1.21.0.dist-info/METADATA,sha256=gni79nCgCXGmRLhae5RX5cSI0BjiBn-71OZFP4Zgn-Y,2183
7
- pylookyloo-1.21.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
8
- pylookyloo-1.21.0.dist-info/entry_points.txt,sha256=y2c0Ujg8co6Xyf7MoxStVU-fLQMZBSGAg-KFidmsha4,44
9
- pylookyloo-1.21.0.dist-info/RECORD,,