mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-24 15:48:11 +02:00
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:
1 parent
acfc5c6397
commit
f223dc5a29
4 files changed
+33
-8
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user