har2tree 1.31.2__tar.gz → 1.31.3__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.
- {har2tree-1.31.2 → har2tree-1.31.3}/PKG-INFO +2 -2
- {har2tree-1.31.2 → har2tree-1.31.3}/har2tree/helper.py +1 -1
- {har2tree-1.31.2 → har2tree-1.31.3}/pyproject.toml +4 -4
- {har2tree-1.31.2 → har2tree-1.31.3}/LICENSE +0 -0
- {har2tree-1.31.2 → har2tree-1.31.3}/README.md +0 -0
- {har2tree-1.31.2 → har2tree-1.31.3}/har2tree/__init__.py +0 -0
- {har2tree-1.31.2 → har2tree-1.31.3}/har2tree/har2tree.py +0 -0
- {har2tree-1.31.2 → har2tree-1.31.3}/har2tree/nodes.py +0 -0
- {har2tree-1.31.2 → har2tree-1.31.3}/har2tree/parser.py +0 -0
- {har2tree-1.31.2 → har2tree-1.31.3}/har2tree/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: har2tree
|
|
3
|
-
Version: 1.31.
|
|
3
|
+
Version: 1.31.3
|
|
4
4
|
Summary: HTTP Archive (HAR) to ETE Toolkit generator
|
|
5
5
|
License: BSD-3-Clause
|
|
6
6
|
Author: Raphaël Vinot
|
|
@@ -28,7 +28,7 @@ Requires-Dist: legacy-cgi (>=2.6.3) ; python_version >= "3.13,<4.0"
|
|
|
28
28
|
Requires-Dist: numpy (<2.1) ; python_version < "3.10"
|
|
29
29
|
Requires-Dist: numpy (<2.3) ; python_version < "3.11"
|
|
30
30
|
Requires-Dist: numpy (>=2.3.1) ; python_version >= "3.11"
|
|
31
|
-
Requires-Dist: publicsuffixlist (>=1.0.2.
|
|
31
|
+
Requires-Dist: publicsuffixlist (>=1.0.2.20250719)
|
|
32
32
|
Requires-Dist: six (>=1.17.0) ; extra == "docs"
|
|
33
33
|
Requires-Dist: tinycss2 (>=1.4.0)
|
|
34
34
|
Requires-Dist: w3lib (>=2.3.1)
|
|
@@ -286,7 +286,7 @@ def make_soup(html: bytes) -> BeautifulSoup:
|
|
|
286
286
|
try:
|
|
287
287
|
return BeautifulSoup(doc_as_str, 'lxml')
|
|
288
288
|
except Exception as e:
|
|
289
|
-
logger.
|
|
289
|
+
logger.info(f'Unable to parse doc with lxml, try again with the default parser: {e}')
|
|
290
290
|
# Fallback to the default python parser
|
|
291
291
|
return BeautifulSoup(doc_as_str, 'html.parser')
|
|
292
292
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "har2tree"
|
|
3
|
-
version = "1.31.
|
|
3
|
+
version = "1.31.3"
|
|
4
4
|
description = "HTTP Archive (HAR) to ETE Toolkit generator"
|
|
5
5
|
authors = [
|
|
6
6
|
{name="Raphaël Vinot", email="raphael.vinot@circl.lu"}
|
|
@@ -14,7 +14,7 @@ dynamic = [ "classifiers" ]
|
|
|
14
14
|
dependencies = [
|
|
15
15
|
"ete3 (>=3.1.3)",
|
|
16
16
|
"beautifulsoup4[charset-normalizer,lxml] (>=4.13.4)",
|
|
17
|
-
"publicsuffixlist (>=1.0.2.
|
|
17
|
+
"publicsuffixlist (>=1.0.2.20250719)",
|
|
18
18
|
"filetype (>=1.2.0)",
|
|
19
19
|
# poetry up fails with the version of numpy forced for python < 3.10.
|
|
20
20
|
# The work around is to comment it, run poetry up, uncomment it. and run poetry update.
|
|
@@ -45,9 +45,9 @@ classifiers = [
|
|
|
45
45
|
docs = ["Sphinx (>=8.2.3) ; python_version >= \"3.11\"", "six (>=1.17.0)"]
|
|
46
46
|
|
|
47
47
|
[tool.poetry.group.dev.dependencies]
|
|
48
|
-
mypy = "^1.
|
|
48
|
+
mypy = "^1.17.0"
|
|
49
49
|
pytest-cov = "^6.2.1"
|
|
50
|
-
coverage = "^7.9.
|
|
50
|
+
coverage = "^7.9.2"
|
|
51
51
|
types-beautifulsoup4 = "^4.12.0.20250516"
|
|
52
52
|
|
|
53
53
|
[build-system]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|