File tree 3 files changed +9
-5
lines changed
3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,17 @@ Version History
4
4
Version 1
5
5
---------
6
6
7
+ ### V1.4.1
8
+ * add trafilatura.utils to SENTRY_LOGGERS_TO_IGNORE
9
+
7
10
### V1.4.0
8
11
* add ignore_loggers and sentry_ignore_loggers
9
12
10
13
### V1.3.1
11
14
* Fix CI Bug from out-of-date dependency
12
15
13
16
### V1.3.0
14
- * Add option to optionally override canonical_domain
17
+ * Add option to optionally override canonical_domain
15
18
16
19
### V1.2.0
17
20
* metadata now includes Canonical Url when available
Original file line number Diff line number Diff line change 33
33
# NOTE! in sorted order!
34
34
"htmldate.utils" ,
35
35
"trafilatura.core" ,
36
+ "trafilatura.utils" ,
36
37
]
37
38
38
39
@@ -102,9 +103,9 @@ def extract(
102
103
is_shortened_url = urls .is_shortened_url (url )
103
104
url_duration = time .monotonic () - t1
104
105
stats_accumulator ["url" ] += url_duration
105
-
106
- if ' canonical_domain' in overrides :
107
- canonical_domain = overrides [' canonical_domain' ]
106
+
107
+ if " canonical_domain" in overrides :
108
+ canonical_domain = overrides [" canonical_domain" ]
108
109
else :
109
110
canonical_domain = urls .canonical_domain (final_url )
110
111
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
4
4
5
5
[project ]
6
6
name = " mediacloud-metadata"
7
- version = " 1.4.0 "
7
+ version = " 1.4.1 "
8
8
authors = [
9
9
{
name =
' Rahul Bhargava' ,
email =
' [email protected] ' }
10
10
]
You can’t perform that action at this time.
0 commit comments