mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-11 17:29:14 +02:00
feat: Implement new search service for multi-site e-commerce product search and item detail scraping.
This commit is contained in:
1 parent
f223dc5a29
commit
f0e1c6668d
1 file changed
+4
@@ -422,6 +422,10 @@ def seed_default_sites(db: Session) -> int:
|
||||
site = existing_sites[clean_domain]
|
||||
changed = False
|
||||
for key, value in site_data.items():
|
||||
# Skip updating user-configurable fields to preserve preferences
|
||||
if key in ["is_active", "priority"]:
|
||||
continue
|
||||
|
||||
if getattr(site, key) != value:
|
||||
setattr(site, key, value)
|
||||
changed = True
|
||||
|
||||
Reference in new issue
Block a user