MCPcopy Create free account
hub / github.com/davisking/dlib / __init__

Method __init__

tools/htmlify/test_htmlify.py:15–18  ·  view source on GitHub ↗
(self, page)

Source from the content-addressed store, hash-verified

13
14class Links(HTMLParser):
15 def __init__(self, page):
16 super().__init__()
17 self.urls = []
18 self.feed(page.read_text())
19
20 def handle_starttag(self, tag, attrs):
21 if tag == "a":

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected