feat: implement Amazon scraper service using Playwright with stealth features for product search and parsing.

This commit is contained in:
Michael committed 2025-12-24 09:19:28 +01:00
1 parent 38340cd59c
commit fd34bc66b2
1 file changed
+1 -1
+1 -1
View File
@@ -6,6 +6,7 @@ Based on ScraperService pattern for better session management and anti-detection
import asyncio
import logging
import os
import random
import re
from dataclasses import dataclass
from datetime import datetime
@@ -251,7 +252,6 @@ class AmazonScraperService:
@staticmethod
async def _simulate_human_behavior(page: Page):
"""Perform subtle human-like interactions"""
import random
try:
# Random mouse movements
for _ in range(3):