lacuscore 1.7.9__tar.gz → 1.7.10__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.
- {lacuscore-1.7.9 → lacuscore-1.7.10}/PKG-INFO +2 -2
- {lacuscore-1.7.9 → lacuscore-1.7.10}/lacuscore/lacuscore.py +2 -2
- {lacuscore-1.7.9 → lacuscore-1.7.10}/pyproject.toml +2 -2
- {lacuscore-1.7.9 → lacuscore-1.7.10}/LICENSE +0 -0
- {lacuscore-1.7.9 → lacuscore-1.7.10}/README.md +0 -0
- {lacuscore-1.7.9 → lacuscore-1.7.10}/lacuscore/__init__.py +0 -0
- {lacuscore-1.7.9 → lacuscore-1.7.10}/lacuscore/lacus_monitoring.py +0 -0
- {lacuscore-1.7.9 → lacuscore-1.7.10}/lacuscore/py.typed +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: lacuscore
|
3
|
-
Version: 1.7.
|
3
|
+
Version: 1.7.10
|
4
4
|
Summary: Core of Lacus, usable as a module
|
5
5
|
Home-page: https://github.com/ail-project/LacusCore
|
6
6
|
License: BSD-3-Clause
|
@@ -26,7 +26,7 @@ Provides-Extra: docs
|
|
26
26
|
Requires-Dist: Sphinx (<7.2) ; (python_version < "3.9") and (extra == "docs")
|
27
27
|
Requires-Dist: Sphinx (>=7.2,<8.0) ; (python_version >= "3.9") and (extra == "docs")
|
28
28
|
Requires-Dist: defang (>=0.5.3,<0.6.0)
|
29
|
-
Requires-Dist: playwrightcapture[recaptcha] (>=1.22.
|
29
|
+
Requires-Dist: playwrightcapture[recaptcha] (>=1.22.7,<2.0.0)
|
30
30
|
Requires-Dist: redis[hiredis] (>=5.0.1,<6.0.0)
|
31
31
|
Requires-Dist: requests (>=2.31.0,<3.0.0)
|
32
32
|
Requires-Dist: ua-parser (>=0.18.0,<0.19.0)
|
@@ -23,7 +23,7 @@ from enum import IntEnum, unique
|
|
23
23
|
from logging import LoggerAdapter
|
24
24
|
from pathlib import Path
|
25
25
|
from tempfile import NamedTemporaryFile
|
26
|
-
from typing import Literal,
|
26
|
+
from typing import Literal, Any, TypedDict, overload, cast, MutableMapping, Iterator
|
27
27
|
from uuid import uuid4
|
28
28
|
from urllib.parse import urlsplit
|
29
29
|
|
@@ -342,7 +342,7 @@ class LacusCore():
|
|
342
342
|
p = self.redis.pipeline()
|
343
343
|
p.set(f'lacus:query_hash:{hash_query}', perma_uuid, nx=True, ex=recapture_interval)
|
344
344
|
p.hset(f'lacus:capture_settings:{perma_uuid}', mapping=mapping_capture) # type: ignore
|
345
|
-
p.zadd('lacus:to_capture', {perma_uuid: priority})
|
345
|
+
p.zadd('lacus:to_capture', {perma_uuid: priority if priority is not None else 0})
|
346
346
|
try:
|
347
347
|
p.execute()
|
348
348
|
except DataError:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "lacuscore"
|
3
|
-
version = "1.7.
|
3
|
+
version = "1.7.10"
|
4
4
|
description = "Core of Lacus, usable as a module"
|
5
5
|
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
|
6
6
|
license = "BSD-3-Clause"
|
@@ -33,7 +33,7 @@ Sphinx = [
|
|
33
33
|
{version = "<7.2", python = "<3.9", optional = true},
|
34
34
|
{version = "^7.2", python = ">=3.9", optional = true}
|
35
35
|
]
|
36
|
-
playwrightcapture = {extras = ["recaptcha"], version = "^1.22.
|
36
|
+
playwrightcapture = {extras = ["recaptcha"], version = "^1.22.7"}
|
37
37
|
defang = "^0.5.3"
|
38
38
|
ua-parser = "^0.18.0"
|
39
39
|
redis = {version = "^5.0.1", extras = ["hiredis"]}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|