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
This commit is contained in:
Claude
2026-02-28 02:49:28 +00:00
parent c33e46c3cf
commit 3f7e8196e3

View File

@@ -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),
}