Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/extract_url_safe_https' into ext…
Browse files Browse the repository at this point in the history
…ract_url_safe_https
  • Loading branch information
PyExplorer committed Dec 10, 2024
2 parents 209fbe7 + 6bbc25d commit ef9925d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zyte_parsers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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 ``<a>`` HTML tag.
Expand Down

0 comments on commit ef9925d

Please sign in to comment.