From 4b854dc882fe640fb5a733db776e7a75bf2af821 Mon Sep 17 00:00:00 2001 From: PyExplorer Date: Fri, 6 Dec 2024 13:22:02 +0300 Subject: [PATCH] format --- 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 1c52e16..468a826 100644 --- a/zyte_parsers/utils.py +++ b/zyte_parsers/utils.py @@ -57,7 +57,7 @@ def strip_urljoin(base_url: Optional[str], url: Optional[str]) -> str: def add_https_to_url(url: str) -> str: - if url.startswith(('http://', 'https://')): + if url.startswith(("http://", "https://")): return url parsed_url = urlparse(url)