mcp_server_webcrawl.templates package
Submodules
mcp_server_webcrawl.templates.tests module
- class TemplateTests[source]
Bases:
TestCase
Test suite for the custom HTML to markdown converter. Why custom? It’s a bit faster, that is the only reason. Maximum load is 100 transforms (1 per result for a max result of 100), so speed matters. A default set is 20. This converter does a few things differently to tailor to LLM interaction. * aggressively removes images (html2text selectively renders) * links with block decendents will render like a <p>
(html2text treats as <a><br>)
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.