MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __init__

Method __init__

web_programming/emails_from_url.py:27–30  ·  view source on GitHub ↗
(self, domain: str)

Source from the content-addressed store, hash-verified

25
26class Parser(HTMLParser):
27 def __init__(self, domain: str) -> None:
28 super().__init__()
29 self.urls: list[str] = []
30 self.domain = domain
31
32 def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]]) -> None:
33 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected