mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-11 17:29:14 +02:00
feat: implement improved search service using persistent browser connection and modular parsers, alongside a BeautifulSoup check utility.
This commit is contained in:
1 parent
87568866e7
commit
8bf9ddb2d7
2 files changed
+4
-1
No files matched your search
@@ -8,8 +8,9 @@ UPDATED: Now uses modular, site-specific parsers for robust product extraction
|
||||
import asyncio
|
||||
import logging
|
||||
from typing import AsyncGenerator
|
||||
from urllib.parse import quote_plus
|
||||
from urllib.parse import quote_plus, urljoin
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
from playwright.async_api import Browser, BrowserContext, Page, async_playwright
|
||||
from playwright.async_api import TimeoutError as PlaywrightTimeoutError
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
from app.services.improved_search_service import BeautifulSoup
|
||||
print("BeautifulSoup imported successfully")
|
||||
Reference in new issue
Block a user