How bddndndncnrhfjfjnf-droid/searchxng_scraper works
SearXNG meta-search accepts queries through a Python API or CLI, discovers and ranks public instances, then races searches across them. Each instance search can use JSON or HTML and handle Anubis, limiter, or Portico challenges; results are returned to the caller and optionally saved as JSON. The graph preserves documented PDF and profile modes and the CLI’s optional update check. Some relationships are supported by README statements and the source index; unsampled internals are not inferred beyond those references.
Main entry points: race.py Search race · api.py Python API · cli.py CLI · instances.py Instance discovery
Components 18
User interfaces
- CLI
searxng_scraper/cli.py - Python API
searxng_scraper/api.py - Import alias
searxng_search.py
Search workflow
- Search race
searxng_scraper/race.py - PDF and profiles
searxng_scraper/race.py - HTML parsing
searxng_scraper/htmlparse.py - Instance discovery
searxng_scraper/instances.py
Challenge handling
- Anubis solver
searxng_scraper/anubis.py - Limiter and Portico
searxng_scraper/limiter.py - Proof of work
searxng_scraper/pow.py
Shared services
- Runtime configuration
searxng_scraper/config.py - Instance and cookie cache
searxng_scraper/instances.py - JSON reports
searxng_scraper/api.py - Update checker
searxng_scraper/update.py
Other components
- Search user
- sear.space directory
- SearXNG instances
- PyPI
Connections 22
- Search user → CLI: runs query
README.md - Search user → Python API: calls search
README.md - Import alias → Python API: re-exports
searxng_search.py - CLI → Python API: invokes search
searxng_scraper/cli.py - CLI → Update checker: starts check
searxng_scraper/cli.py - Python API → Search race: executes query
searxng_scraper/api.py - Search race → Instance discovery: gets candidates
searxng_scraper/race.py - Instance discovery → sear.space directory: fetches directory
searxng_scraper/instances.py - Search race → SearXNG instances: races requests
README.md - Search race → HTML parsing: parses HTML
searxng_scraper/race.py - Search race → Anubis solver: handles challenge
searxng_scraper/race.py - Search race → Limiter and Portico: handles limiter
searxng_scraper/race.py - Anubis solver → Proof of work: solves proof
searxng_scraper/anubis.py - Limiter and Portico → Proof of work: solves proof
searxng_scraper/limiter.py - Search race → PDF and profiles: supports modes
README.md - Instance discovery → Instance and cookie cache: reads and writes
searxng_scraper/instances.py - Anubis solver → Instance and cookie cache: caches cookies
searxng_scraper/anubis.py - CLI → JSON reports: writes JSON
searxng_scraper/cli.py - Python API → JSON reports: saves results
searxng_scraper/api.py - Update checker → PyPI: checks release
searxng_scraper/update.py - CLI → Runtime configuration: uses settings
searxng_scraper/cli.py - Python API → Runtime configuration: uses settings
searxng_scraper/api.py