pylookyloo 1.32.0__py3-none-any.whl → 1.33.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.
pylookyloo/api.py CHANGED
@@ -72,6 +72,7 @@ class CaptureSettings(TypedDict, total=False):
72
72
  locale: str | None
73
73
  color_scheme: str | None
74
74
  java_script_enabled: bool
75
+ with_trusted_timestamps: bool
75
76
  headless: bool
76
77
  viewport: dict[str, int] | None
77
78
  referer: str | None
@@ -189,6 +190,7 @@ class Lookyloo():
189
190
  locale: str | None=None,
190
191
  color_scheme: str | None=None,
191
192
  java_script_enabled: bool=True,
193
+ with_trusted_timestamps: bool=False,
192
194
  headless: bool=True,
193
195
  viewport: dict[str, int] | None=None,
194
196
  referer: str | None=None,
@@ -215,6 +217,7 @@ class Lookyloo():
215
217
  locale: str | None=None,
216
218
  color_scheme: str | None=None,
217
219
  java_script_enabled: bool | None=None,
220
+ with_trusted_timestamps: bool=False,
218
221
  headless: bool=True,
219
222
  viewport: dict[str, int] | None=None,
220
223
  referer: str | None=None,
@@ -244,6 +247,7 @@ class Lookyloo():
244
247
  :param locale: The locale of the browser
245
248
  :param color_scheme: The prefered color scheme of the browser (light or dark)
246
249
  :param java_script_enabled: If False, no JS will run during the capture.
250
+ :param with_trusted_timestamps: If True, and a trusted timestamp provider is configured, trigger a request for trusted timestamps for forensic archival.
247
251
  :param headless: If False, the browser will be headed, it requires the capture to be done on a desktop.
248
252
  :param viewport: The viewport of the browser used for capturing
249
253
  :param referer: The referer URL for the capture
@@ -300,6 +304,8 @@ class Lookyloo():
300
304
  to_send['color_scheme'] = color_scheme
301
305
  if java_script_enabled is not None:
302
306
  to_send['java_script_enabled'] = java_script_enabled
307
+ if with_trusted_timestamps is not None:
308
+ to_send['with_trusted_timestamps'] = with_trusted_timestamps
303
309
  if headless is not None:
304
310
  to_send['headless'] = headless
305
311
  if viewport:
@@ -1,8 +1,9 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: pylookyloo
3
- Version: 1.32.0
3
+ Version: 1.33.0
4
4
  Summary: Python CLI and module for Lookyloo
5
- License: GPL-2.0-or-later
5
+ License-Expression: GPL-2.0-or-later
6
+ License-File: LICENSE
6
7
  Author: Raphaël Vinot
7
8
  Author-email: raphael.vinot@circl.lu
8
9
  Requires-Python: >=3.9
@@ -11,7 +12,6 @@ Classifier: Environment :: Console
11
12
  Classifier: Intended Audience :: Information Technology
12
13
  Classifier: Intended Audience :: Science/Research
13
14
  Classifier: Intended Audience :: Telecommunications Industry
14
- Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
15
15
  Classifier: Operating System :: POSIX :: Linux
16
16
  Classifier: Programming Language :: Python :: 3
17
17
  Classifier: Programming Language :: Python :: 3.9
@@ -19,12 +19,13 @@ Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
22
23
  Classifier: Topic :: Internet
23
24
  Classifier: Topic :: Security
24
25
  Provides-Extra: docs
25
26
  Provides-Extra: examples
26
27
  Requires-Dist: Sphinx (>=8.2.3) ; (python_version >= "3.11") and (extra == "docs")
27
- Requires-Dist: pylacus (>=1.17.0) ; extra == "examples"
28
+ Requires-Dist: pylacus (>=1.18.0) ; extra == "examples"
28
29
  Requires-Dist: requests (>=2.32.5)
29
30
  Project-URL: Documentation, https://pylookyloo.readthedocs.io/en/latest/
30
31
  Project-URL: Repository, https://github.com/lookyloo/PyLookyloo
@@ -0,0 +1,8 @@
1
+ pylookyloo/__init__.py,sha256=_JYXwXHL7ShZkeruvGd8qDTpxNRfuDjvV65SOMMU6yc,1922
2
+ pylookyloo/api.py,sha256=ehPOX_BWePTRWQu5cAW6Du7y-FY0ViGYMPjFOiN3CvA,36316
3
+ pylookyloo/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ pylookyloo-1.33.0.dist-info/METADATA,sha256=a1tQ0SFfe22VC0E9dPPqnqFdI9QH5B9rAitYuHssnCk,2384
5
+ pylookyloo-1.33.0.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
6
+ pylookyloo-1.33.0.dist-info/entry_points.txt,sha256=y2c0Ujg8co6Xyf7MoxStVU-fLQMZBSGAg-KFidmsha4,44
7
+ pylookyloo-1.33.0.dist-info/licenses/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
8
+ pylookyloo-1.33.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.3
2
+ Generator: poetry-core 2.2.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,8 +0,0 @@
1
- pylookyloo/__init__.py,sha256=_JYXwXHL7ShZkeruvGd8qDTpxNRfuDjvV65SOMMU6yc,1922
2
- pylookyloo/api.py,sha256=e2_XdtzflHiSJHZcOz4dq0JofTOSIJShSWSgkPl-Oz8,35888
3
- pylookyloo/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- pylookyloo-1.32.0.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
5
- pylookyloo-1.32.0.dist-info/METADATA,sha256=1ya3tlE_Nkappg7EefBwfkP-i1KTG3GqbXlE7Ugat0U,2387
6
- pylookyloo-1.32.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
7
- pylookyloo-1.32.0.dist-info/entry_points.txt,sha256=y2c0Ujg8co6Xyf7MoxStVU-fLQMZBSGAg-KFidmsha4,44
8
- pylookyloo-1.32.0.dist-info/RECORD,,