feat: add ASIN offer search functionality
- Introduced a new script `asin-offer-search.ts` for searching product offers by ASIN. - Updated `package.json` to include a new command for the ASIN offer search. - Enhanced configuration in `config.ts` to support SearXNG URL and timeout settings. - Added comprehensive tests for the new search functionality in `searxng.test.ts`. - Implemented the core search logic in `searxng.ts`, supporting multiple providers and price detection.
This commit is contained in:
@@ -12,4 +12,7 @@ AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
|
||||
REDIS_URL=redis://localhost:6379
|
||||
LLM_URL=http://localhost:1234/v1
|
||||
LLM_MODEL=default
|
||||
CACHE_TTL=86400
|
||||
CACHE_TTL=86400
|
||||
GOOGLE_API_KEY=your_google_api_key
|
||||
GOOGLE_CSE_ID=your_google_programmable_search_engine_id
|
||||
SERPAPI_API_KEY=your_serpapi_api_key_for_google_shopping
|
||||
|
||||
Reference in New Issue
Block a user