Toggle Menu
Prev Up Next

# `langchain_core.utils.html`.find_all_links

langchain_core.utils.html.find_all_links(raw_html: str, *, pattern: Optional[Union[str, Pattern]] = None) → List[str]

  Extract all links from a raw html string.

  Parameters

    - raw_html (str) – original html.

    - pattern (Optional[Union[str, Pattern]]) – Regex to use for extracting links from raw html.

  Returns

    all links

  Return type

    List[str]