find_all_links#
- langchain_core.utils.html.find_all_links(raw_html: str, *, pattern: str | Pattern | None = None) list[str] [source]#
Extract all links from a raw HTML string.
- Parameters:
raw_html (str) – original HTML.
pattern (str | Pattern | None) – Regex to use for extracting links from raw HTML.
- Returns:
all links
- Return type:
List[str]