MCPcopy Index your code
hub / github.com/pyload/pyload / _resolveRelativeURIs

Function _resolveRelativeURIs

module/lib/feedparser.py:2464–2470  ·  view source on GitHub ↗
(htmlSource, baseURI, encoding, _type)

Source from the content-addressed store, hash-verified

2462 _BaseHTMLProcessor.unknown_starttag(self, tag, attrs)
2463
2464def _resolveRelativeURIs(htmlSource, baseURI, encoding, _type):
2465 if _debug:
2466 sys.stderr.write('entering _resolveRelativeURIs\n')
2467
2468 p = _RelativeURIResolver(baseURI, encoding, _type)
2469 p.feed(htmlSource)
2470 return p.output()
2471
2472def _makeSafeAbsoluteURI(base, rel=None):
2473 # bail if ACCEPTABLE_URI_SCHEMES is empty

Callers 1

popMethod · 0.85

Calls 4

feedMethod · 0.80
outputMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected