feat: Increase Amazon limit to 50 and fix screenshot framing

- Increased default Amazon search results limit from 20 to 50 in backend and frontend
- Improved TrackingScraperService to target main product area on Amazon (avoiding reviews)
- Added specific selectors for Amazon product page (#imgTagWrapperId, #productTitle, etc.)
This commit is contained in:
Michael committed 2025-12-01 16:18:35 +01:00
1 parent acfc5c6397
commit f223dc5a29
4 files changed
+33 -8

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class AmazonSearchProgress(BaseModel):
@router.get("/search")
async def search_amazon(
q: str = Query(..., min_length=1, description="Terme de recherche"),
max_results: int = Query(20, ge=1, le=50, description="Nombre max de résultats"),
max_results: int = Query(50, ge=1, le=100, description="Nombre max de résultats"),
):
"""
Recherche de produits sur Amazon France.