mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-24 07:38:13 +02:00
feat: Introduce BrowserlessService for persistent web scraping with enhanced Amazon price extraction, alongside initial scheduler service and task tracking.
This commit is contained in:
1 parent
3bbab058c6
commit
8a8ef02168
3 files changed
+20
-3
No files matched your search
@@ -131,7 +131,7 @@ async def process_item_check(item_id: int):
|
||||
try:
|
||||
import shutil
|
||||
import os
|
||||
dest_path = f"/app/screenshots/item_{item_id}.png"
|
||||
dest_path = f"screenshots/item_{item_id}.png"
|
||||
# Ensure directory exists
|
||||
os.makedirs(os.path.dirname(dest_path), exist_ok=True)
|
||||
shutil.copy2(screenshot_path, dest_path)
|
||||
|
||||
Reference in new issue
Block a user