feat: Add new services for search orchestration, browser automation, and scheduling.

This commit is contained in:
Michael committed 2025-11-30 12:39:26 +01:00
1 parent 606fbf1523
commit 23afe4bc6c
4 files changed
+295 -215

No files matched your search

+2 -2
View File
@@ -105,9 +105,9 @@ async def process_item_check(item_id: int):
logger.info(f"Checking item: {item_data['name']} ({item_data['url']})")
# Use new browserless service
# Note: smart_scroll is handled internally by browserless_service
page_text, screenshot_path = await browserless_service.get_page_content(
screenshot_path, page_text = await browserless_service.get_page_content(
item_data["url"],
use_proxy="amazon" in item_data["url"], # Simple heuristic for now
use_proxy="amazon" in item_data["url"], # Simple heuristic for now
wait_selector=item_data["selector"]
)