har2tree 1.27.7__tar.gz → 1.27.8__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.27.7 → har2tree-1.27.8}/PKG-INFO +5 -5
- {har2tree-1.27.7 → har2tree-1.27.8}/har2tree/nodes.py +1 -1
- {har2tree-1.27.7 → har2tree-1.27.8}/pyproject.toml +7 -5
- {har2tree-1.27.7 → har2tree-1.27.8}/LICENSE +0 -0
- {har2tree-1.27.7 → har2tree-1.27.8}/README.md +0 -0
- {har2tree-1.27.7 → har2tree-1.27.8}/har2tree/__init__.py +0 -0
- {har2tree-1.27.7 → har2tree-1.27.8}/har2tree/har2tree.py +0 -0
- {har2tree-1.27.7 → har2tree-1.27.8}/har2tree/helper.py +0 -0
- {har2tree-1.27.7 → har2tree-1.27.8}/har2tree/parser.py +0 -0
- {har2tree-1.27.7 → har2tree-1.27.8}/har2tree/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: har2tree
|
|
3
|
-
Version: 1.27.
|
|
3
|
+
Version: 1.27.8
|
|
4
4
|
Summary: HTTP Archive (HAR) to ETE Toolkit generator
|
|
5
5
|
License: BSD-3-Clause
|
|
6
6
|
Author: Raphaël Vinot
|
|
@@ -21,16 +21,16 @@ Classifier: Topic :: Internet
|
|
|
21
21
|
Classifier: Topic :: Security
|
|
22
22
|
Provides-Extra: docs
|
|
23
23
|
Requires-Dist: Sphinx (>=8.1.3) ; (python_version >= "3.10") and (extra == "docs")
|
|
24
|
-
Requires-Dist: beautifulsoup4[charset-normalizer,lxml] (>=4.
|
|
24
|
+
Requires-Dist: beautifulsoup4[charset-normalizer,lxml] (>=4.13.1)
|
|
25
25
|
Requires-Dist: ete3 (>=3.1.3)
|
|
26
26
|
Requires-Dist: filetype (>=1.2.0)
|
|
27
27
|
Requires-Dist: legacy-cgi (>=2.6.2) ; python_version >= "3.13,<4.0"
|
|
28
|
-
Requires-Dist: numpy (
|
|
28
|
+
Requires-Dist: numpy (<=2.1) ; python_version == "3.9"
|
|
29
29
|
Requires-Dist: numpy (>=2.2.2) ; python_version >= "3.10"
|
|
30
|
-
Requires-Dist: publicsuffixlist (>=1.0.2.
|
|
30
|
+
Requires-Dist: publicsuffixlist (>=1.0.2.20250202)
|
|
31
31
|
Requires-Dist: six (>=1.17.0) ; extra == "docs"
|
|
32
32
|
Requires-Dist: tinycss2 (>=1.4.0)
|
|
33
|
-
Requires-Dist: w3lib (>=2.
|
|
33
|
+
Requires-Dist: w3lib (>=2.3.1)
|
|
34
34
|
Project-URL: Documentation, https://har2tree.readthedocs.io/en/latest/
|
|
35
35
|
Project-URL: Repository, https://github.com/Lookyloo/har2tree
|
|
36
36
|
Project-URL: issues, https://github.com/Lookyloo/har2tree/issues
|
|
@@ -84,7 +84,7 @@ class URLNode(HarTreeNode):
|
|
|
84
84
|
self.features_to_skip.add('ip_address')
|
|
85
85
|
|
|
86
86
|
def _compute_domhash(self) -> str:
|
|
87
|
-
to_hash = "|".join(t.name for t in self.rendered_soup.
|
|
87
|
+
to_hash = "|".join(t.name for t in self.rendered_soup.find_all()).encode()
|
|
88
88
|
return sha256(to_hash).hexdigest()[:32]
|
|
89
89
|
|
|
90
90
|
def add_rendered_features(self, all_requests: list[str], rendered_html: BytesIO | None=None, downloaded_file: tuple[str, BytesIO | None] | None=None) -> None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "har2tree"
|
|
3
|
-
version = "1.27.
|
|
3
|
+
version = "1.27.8"
|
|
4
4
|
description = "HTTP Archive (HAR) to ETE Toolkit generator"
|
|
5
5
|
authors = [
|
|
6
6
|
{name="Raphaël Vinot", email="raphael.vinot@circl.lu"}
|
|
@@ -13,12 +13,14 @@ dynamic = [ "classifiers" ]
|
|
|
13
13
|
|
|
14
14
|
dependencies = [
|
|
15
15
|
"ete3 (>=3.1.3)",
|
|
16
|
-
"beautifulsoup4
|
|
17
|
-
"publicsuffixlist (>=1.0.2.
|
|
16
|
+
"beautifulsoup4[charset-normalizer,lxml] (>=4.13.1)",
|
|
17
|
+
"publicsuffixlist (>=1.0.2.20250202)",
|
|
18
18
|
"filetype (>=1.2.0)",
|
|
19
|
-
|
|
19
|
+
# poetry up fails with the version of numpy forced for python < 3.10.
|
|
20
|
+
# The work around is to comment it, run poetry up, uncomment it. and run poetry update.
|
|
21
|
+
"numpy (<=2.1) ; python_version == \"3.9\"",
|
|
20
22
|
"numpy (>=2.2.2) ; python_version >= \"3.10\"",
|
|
21
|
-
"w3lib (>=2.
|
|
23
|
+
"w3lib (>=2.3.1)",
|
|
22
24
|
"tinycss2 (>=1.4.0)",
|
|
23
25
|
"legacy-cgi (>=2.6.2) ; python_version >= \"3.13,<4.0\"",
|
|
24
26
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|