Fix CheapShark returning zero deals by using dual-fetch strategy and relaxing filters
The bot stopped posting because sortBy=recent only returned low-discount deals, and desc=1 was inverting the sort order for savings/DealRating queries. Now fetches both recent and top-rated deals, merges with dedup. Lowered default thresholds to 20% min discount, 7.0 min rating, and $45 max price. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -36,8 +36,8 @@ EXTRA_CURRENCIES=CAD,EUR,GBP
|
||||
#ITAD_DEALS_LIMIT=200
|
||||
|
||||
# Shared filter defaults (used when source-specific values are not set)
|
||||
MIN_DISCOUNT_PERCENT=50
|
||||
MAX_PRICE=20
|
||||
MIN_DISCOUNT_PERCENT=20
|
||||
MAX_PRICE=45
|
||||
|
||||
# Matrix threads — post deals into per-category threads instead of the room
|
||||
# Categories: Game Deals, DLC Deals, Epic Free Games, Non-Game Deals
|
||||
|
||||
Reference in New Issue
Block a user