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

+3 -3
View File
@@ -37,7 +37,7 @@ export default function AmazonSearch() {
// Construire l'URL avec les paramètres
const params = new URLSearchParams({
q: query.trim(),
max_results: 20,
max_results: 50,
});
// Créer l'EventSource pour SSE
@@ -103,8 +103,8 @@ export default function AmazonSearch() {
<Star
key={i}
className={`h-4 w-4 ${i < Math.floor(rating)
? 'fill-yellow-400 text-yellow-400'
: 'text-gray-300'
? 'fill-yellow-400 text-yellow-400'
: 'text-gray-300'
}`}
/>
))}