From 3f7e8196e34068900dfd2a16a27e230256cbf483 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Feb 2026 02:49:28 +0000 Subject: [PATCH] Sort CheapShark deals by recency instead of deal rating The bot polls periodically for new deals, but sorting by "Deal Rating" meant it always returned the same top-rated deals and would never discover new listings that aren't in the top 10 by rating. Sorting by "recent" ensures newly added or updated deals are seen on each poll. https://claude.ai/code/session_017eMsVwUopgmnEyd6JJedpV --- gaming_deals_bot/cheapshark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gaming_deals_bot/cheapshark.py b/gaming_deals_bot/cheapshark.py index edf2296..1879175 100644 --- a/gaming_deals_bot/cheapshark.py +++ b/gaming_deals_bot/cheapshark.py @@ -55,7 +55,7 @@ async def fetch_deals( params = { "storeID": store_ids, "upperPrice": str(int(max_price)), - "sortBy": "Deal Rating", + "sortBy": "recent", "desc": "1", "pageSize": str(page_size), }