15 matches across 1 files for error lang: lang:Python lang:Python
snippet_mode: auto · sorted by relevance
libs/text-splitters/langchain_text_splitters/html.py PYTHON 15 matches · showing 5 view file →
31
32 _HAS_NLTK = True
33except ImportError:
34 _HAS_NLTK = False
35
· · ·
39
40 _HAS_BS4 = True
41except ImportError:
42 _HAS_BS4 = False
43
· · ·
46
47 _HAS_LXML = True
48except ImportError:
49 _HAS_LXML = False
50
· · ·
256
257 Raises:
258 ImportError: If BeautifulSoup is not installed.
259 """
260 if not _HAS_BS4:
· · ·
262 "Unable to import BeautifulSoup. Please install via `pip install bs4`."
263 )
264 raise ImportError(msg)
265
266 soup = BeautifulSoup(html_content, "html.parser")
+ 10 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.