Merge pull request #194 from R0m1k3/antigravity

feat: add improved search service with persistent browser, modular pa…
This commit is contained in:
LogiFlow authored and GitHub committed 2025-11-30 23:35:58 +01:00
commit f9f2f0ebc2
2 files changed
+8 -9

No files matched your search

+1 -9
View File
@@ -175,15 +175,7 @@ class ImprovedSearchService:
except Exception:
pass
url=product.url,
title=product.title,
snippet=product.snippet,
source=product.source,
price=product.price,
currency=product.currency,
in_stock=product.in_stock,
image_url=product.image_url,
)
@staticmethod
def _parse_results(html: str, site_key: str, base_url: str, query: str) -> list[SearchResult]:
+7
View File
@@ -0,0 +1,7 @@
import sys
try:
from app.services import improved_search_service
print("Import successful")
except Exception as e:
print(f"Import failed: {e}")
sys.exit(1)