MCPcopy Index your code
hub / github.com/unclecode/crawl4ai / link_url

Method link_url

crawl4ai/html2text/__init__.py:506–509  ·  view source on GitHub ↗
(self: HTML2Text, link: str, title: str = "")

Source from the content-addressed store, hash-verified

504 self.quote = not self.quote
505
506 def link_url(self: HTML2Text, link: str, title: str = "") -> None:
507 url = urlparse.urljoin(self.baseurl, link)
508 title = ' "{}"'.format(title) if title.strip() else ""
509 self.o("]({url}{title})".format(url=escape_md(url), title=title))
510
511 if tag == "a" and not self.ignore_links:
512 if start:

Callers

nothing calls this directly

Calls 2

oMethod · 0.95
escape_mdFunction · 0.85

Tested by

no test coverage detected