ghstedpixel commited on
Commit
a1bdff6
·
verified ·
1 Parent(s): f4bfb68

Update shopping.py

Browse files
Files changed (1) hide show
  1. shopping.py +6 -6
shopping.py CHANGED
@@ -5,12 +5,12 @@ import random
5
  import urllib.parse
6
  from bs4 import BeautifulSoup
7
 
8
- from app.config import SERPAPI_KEY, TAVILY_API_KEY, USER_AGENTS, DDG_SEMAPHORE
9
- from app.core.database import get_base_price, set_base_price
10
- from app.core.security import check_url_safe
11
- from app.engines.schema import is_size_mismatched, extract_universal_sizing, clean_google_link, parse_price_locally
12
- from app.engines.network import extract_page_data
13
- from app.engines.coupons import call_free_llm
14
 
15
  async def fetch_serpapi_shopping(product_name: str, desired_size: str, client: httpx.AsyncClient, mode: str = "balanced") -> list:
16
  """Queries SerpApi Google Shopping engine for pristine structured retail data"""
 
5
  import urllib.parse
6
  from bs4 import BeautifulSoup
7
 
8
+ from config import SERPAPI_KEY, TAVILY_API_KEY, USER_AGENTS, DDG_SEMAPHORE
9
+ from database import get_base_price, set_base_price
10
+ from security import check_url_safe
11
+ from schema import is_size_mismatched, extract_universal_sizing, clean_google_link, parse_price_locally
12
+ from network import extract_page_data
13
+ from coupons import call_free_llm
14
 
15
  async def fetch_serpapi_shopping(product_name: str, desired_size: str, client: httpx.AsyncClient, mode: str = "balanced") -> list:
16
  """Queries SerpApi Google Shopping engine for pristine structured retail data"""