Skip to content

Releases

extsearch 2.2.0

Choose a tag to compare

@viitlk viitlk released this 23 Nov 19:26

Find where a product is cheapest, plus a load test.

marketplace_compare / compare() / GET /compare / extsearch compare:
groups the same product across marketplaces and sorts by the best price.

    19499 UAH  Б/В Apple iPhone 15 128Gb Pink
                also: ctrs 21899 / allo 26899 (saves 7400)

tools/load_test.py measures real throughput: 30 searches over OLX in 12 s,
2.5 req/s, zero errors; HTML sources queue cleanly under 10-way concurrency.

python tools/load_test.py -n 100 -c 20 -w "comfy,brain,ctrs"
pip install "extsearch[all]"

Wheel and sdist attached. Python 3.10+, MIT.

extsearch 2.1.0

Choose a tag to compare

@viitlk viitlk released this 23 Nov 19:05

Progress while a search runs.

Library: search(..., progress=callback) gets an event per marketplace as it finishes:

def on_progress(e):
    if e["event"] == "source":
        print(e["percent"], "%", e["done"], "/", e["total"], e["source"], e["found"])

await search("навушники", where="ua", progress=on_progress)

CLI: extsearch search "навушники" -w ua --progress draws a live bar on stderr.

API: GET /search/stream streams the same events as Server-Sent Events, so a UI can show real progress:

curl -N -G 127.0.0.1:8000/search/stream --data-urlencode "q=навушники" --data-urlencode "where=ua"

Also in this release:

  • web_get / web_search retry a 403 with a plain session (example.com was returning 403 to the impersonated client)

  • Rozetka search is headful-only because of Cloudflare, so it left where="ua"; call it by name. Product cards still work through the API.

    pip install "extsearch[all]"

Wheel and sdist attached. Python 3.10+, MIT.

extsearch 2.0.5

Choose a tag to compare

@viitlk viitlk released this 23 Nov 18:34

Amazon's EU domains now fail honestly.

amazon.co.uk, .fr, .it and .es answer with a 2 KB AWS WAF page (window.gokuProps) instead of products. The parser returned an empty list, so callers saw "no results" — indistinguishable from a shop that genuinely has nothing. The adapter now detects the challenge and raises blocked with a proxy hint.

Verified in this release: amazon.com returns 20 rows for a real query, so it is now marked verified: true, needs_proxy: false. The EU domains stay unverified until someone runs them through a proxy.

26 of 39 adapters are verified from a normal connection.

pip install "extsearch[all]"

Wheel and sdist attached. Python 3.10+, MIT.

extsearch 2.0.4

Choose a tag to compare

@viitlk viitlk released this 23 Nov 18:29

Fixes found by a full audit of the published package.

freelance_search was broken in 2.0.0-2.0.3. The module did import web, a leftover from the flat source layout. Inside the package that raises ModuleNotFoundError, so the MCP tool and GET /freelance returned 500 for every caller. Now relative, and covered by a smoke test.

extsearch-mcp --host/--port were ignored. main() read only environment variables, so the documented HTTP command always bound to 8765. It now parses arguments (unknown flags are still ignored so clients can launch it freely).

Also: explicit ruff configuration (imports, raise-from, redundant casts, sorted __all__) — the code now passes a strict lint run.

pip install "extsearch[all]"

Wheel and sdist attached. Python 3.10+, MIT.

extsearch 2.0.3

Choose a tag to compare

@viitlk viitlk released this 23 Nov 18:14

Version now has a single source of truth.

The wheel said 2.0.2 while extsearch --version and GET /health said 2.0.0: the number lived in both pyproject.toml and extsearch/config.py. setuptools now reads it from the package, so a release cannot drift.

pip install "extsearch[all]"

Wheel and sdist attached. Python 3.10+, MIT.

extsearch 2.0.2

Choose a tag to compare

@viitlk viitlk released this 23 Nov 18:11

Module entry points now work.

python -m extsearch.api used to exit silently with code 0: the module defined main() but never called it. python -m extsearch.mcp_server had the same gap. Both now behave like their console scripts, so a container or supervisor can run either form.

Also in this release:

  • README: wheel install path for when PyPI is unreachable

  • README: module entry points listed next to the console scripts

    pip install "extsearch[all]"

Wheel and sdist are attached. Python 3.10+, MIT.

extsearch 2.0.1

Choose a tag to compare

@viitlk viitlk released this 23 Nov 18:01

Fixes the first-run experience with optional extras.

extsearch-api and extsearch-mcp are console scripts that are always installed,
but fastapi and mcp are optional extras. Running them without the extras produced a
traceback; now they print which extra to install:

extsearch-api needs the API extras, which are not installed.
Install them with:  pip install 'extsearch[api]'

Also: README now leads with the pip install lines for the library, MCP and API extras, and
carries a PyPI badge.

pip install "extsearch[all]"

Wheel and sdist are attached. Python 3.10+, MIT.

extsearch 2.0.0

Choose a tag to compare

@viitlk viitlk released this 23 Nov 17:03

Marketplace search across 39 sites in 17 countries, as a library, an MCP server and an
HTTP API over the same core.

Install

pip install extsearch

MCP client config:

{"mcpServers": {"extsearch": {"command": "/path/to/.venv/bin/extsearch-mcp"}}}

Install without PyPI

The wheel is attached to this release. It is py3-none-any: any OS, Python 3.10+, no
build step.

pip install https://github.com/viitlk/extSearch/releases/download/v2.0.0/extsearch-2.0.0-py3-none-any.whl

The source archive (extsearch-2.0.0.tar.gz) is attached too if you prefer to build it
yourself. Note that GitHub's automatic "Source code" archives are repository snapshots,
not installable packages.

What is inside

  • 39 adapters in 17 countries: OLX (ua, pl, ro, bg, pt, kz, uz), Prom, Rozetka, Amazon,
    eBay, AliExpress, Yandex Market, Rakuten, Wildberries, Ozon and others
  • one adapter contract: every source returns {id, title, price, currency, relevance, url},
    so filtering, sorting and product cards behave the same everywhere
  • price sorting keeps only rows that mention a distinctive query token, so accessories and
    unrelated matches do not win by being cheap
  • proxy pool TYPE://IP:PORT with rotation and cooldown, plus per-site TLS profiles
  • delivery, payment and review extraction from product pages
  • errors as data: {error, message, hint, source, country, retryable}
  • 9 MCP tools, a FastAPI app with /docs, and an argparse CLI

What does not work yet

  • 24 of 39 adapters are verified from a normal connection. The rest answer 403/444 without
    a regional proxy and are marked verified: false
  • Rozetka search needs a one-time browser warm-up: python tools/warmup_rozetka.py
  • prices are integers in the source currency; Amazon and EUR cents are rounded

Docs

  • Library, HTTP API, MCP server: docs/index.md
  • Adding a marketplace: docs/adding-a-marketplace.md
  • Troubleshooting: docs/troubleshooting.md

Requires Python 3.10+. MIT.