get_navigable_strings#
- langchain_community.document_transformers.beautiful_soup_transformer.get_navigable_strings(
- element: Any,
- *,
- remove_comments: bool = False,
Get all navigable strings from a BeautifulSoup element.
- Parameters:
element (Any) – A BeautifulSoup element.
remove_comments (bool) – If set to True, the comments will be removed.
- Returns:
A generator of strings.
- Return type:
Iterator[str]