mirror of
https://github.com/wasrusgen/zov-tech.git
synced 2026-06-03 17:44:48 +00:00
WB sometimes responds with 1-2 unrelated products instead of 429 status. Was returning 'Платье вечернее' on 'Haier холодильник' query. Fix: _is_relevant(product, query) checks that at least 1 significant query word (>=3 chars) appears in product name or brand. Discards full result if zero matches. Tradeoff: may sometimes reject valid product if query is overly specific (e.g. exact SKU). But that's OK — we fall through to next query variant. |
||
|---|---|---|
| .. | ||
| parsers | ||
| __init__.py | ||
| ai.py | ||
| auth.py | ||
| config.py | ||
| main.py | ||
| proxy_pool.py | ||
| sheets.py | ||
| telegram.py | ||