Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/GeneralNewsExtractor/GeneralNewsExtractor
/ html2element
Function
html2element
gne/utils.py:42–45 ·
view source on GitHub ↗
(html)
Source
from the content-addressed store, hash-verified
40
41
42
def
html2element(html):
43
html = re.sub(
'</?br.*?>'
,
''
, html)
44
element = fromstring(html)
45
return
element
46
47
48
def
pre_parse(element):
Callers
1
extract
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected