~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
"""
Base class for HTML content extractors.
"""
from abc import ABC, abstractmethod
from typing import Optional
class BaseExtractor(ABC):
"""Abstract base for content extraction strategies."""
@abstractmethod
def extract(self, html: str) -> Optional[str]:
"""Extract main content text from HTML.
Args:
html: Raw or partially cleaned HTML string.
Returns:
Extracted plain text, or None if extraction yielded nothing.
"""