mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-22 14:48:13 +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
@@ -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'
|
||||
}`}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in new issue
Block a user