MCPcopy Create free account
hub / github.com/UndCover/PyramidStore / html

Method html

base/spider.py:64–65  ·  view source on GitHub ↗
(self,content)

Source from the content-addressed store, hash-verified

62 rsp.encoding='utf-8'
63 return rsp
64 def html(self,content):
65 return etree.HTML(content)
66 def xpText(self,root,expr):
67 ele = root.xpath(expr)
68 if len(ele) == 0:

Callers 15

searchContentMethod · 0.95
homeVideoContentMethod · 0.95
categoryContentMethod · 0.95
detailContentMethod · 0.95
playerContentMethod · 0.95
categoryContentMethod · 0.95
detailContentMethod · 0.95
categoryContentMethod · 0.95
detailContentMethod · 0.95
searchContentMethod · 0.95
playerContentMethod · 0.95
searchContentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected