From 6bbc25d3bf273457485ee86b2353024efbd4281f Mon Sep 17 00:00:00 2001 From: Shevchenko Taras Date: Fri, 6 Dec 2024 14:31:43 +0300 Subject: [PATCH] Update zyte_parsers/utils.py Co-authored-by: Andrey Rakhmatullin --- zyte_parsers/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zyte_parsers/utils.py b/zyte_parsers/utils.py index 2de6c8f..2ed1498 100644 --- a/zyte_parsers/utils.py +++ b/zyte_parsers/utils.py @@ -68,7 +68,7 @@ def add_https_to_url(url: str) -> str: def extract_link( - a_node: SelectorOrElement, base_url: str, force_safe=False + a_node: SelectorOrElement, base_url: str, force_safe: bool = False ) -> Optional[str]: """ Extract the absolute url link from an ```` HTML tag.