mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-24 15:48:11 +02:00
feat: Implement improved search service with centralized configuration and site-specific parsers for various retailers.
This commit is contained in:
1 parent
a8bffaec08
commit
c2f042beee
17 files changed
+829
-476
No files matched your search
@@ -10,6 +10,16 @@ from .cdiscount_parser import CdiscountParser
|
||||
from .fnac_parser import FnacParser
|
||||
from .darty_parser import DartyParser
|
||||
from .boulanger_parser import BoulangerParser
|
||||
from .stokomani_parser import StokomaniParser
|
||||
from .auchan_parser import AuchanParser
|
||||
from .eleclerc_parser import ELeclercParser
|
||||
from .gifi_parser import GifiParser
|
||||
from .action_parser import ActionParser
|
||||
from .lafoirfouille_parser import LaFoirFouilleParser
|
||||
from .bmstores_parser import BMStoresParser
|
||||
from .centrakor_parser import CentrakorParser
|
||||
from .lincroyable_parser import LIncroyableParser
|
||||
from .carrefour_parser import CarrefourParser
|
||||
from .generic_parser import GenericParser
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -30,6 +40,16 @@ class ParserFactory:
|
||||
"fnac.com": FnacParser,
|
||||
"darty.com": DartyParser,
|
||||
"boulanger.com": BoulangerParser,
|
||||
"stokomani.fr": StokomaniParser,
|
||||
"auchan.fr": AuchanParser,
|
||||
"e-leclerc.com": ELeclercParser,
|
||||
"gifi.fr": GifiParser,
|
||||
"action.com": ActionParser,
|
||||
"lafoirfouille.fr": LaFoirFouilleParser,
|
||||
"bmstores.fr": BMStoresParser,
|
||||
"centrakor.com": CentrakorParser,
|
||||
"lincroyable.fr": LIncroyableParser,
|
||||
"carrefour.fr": CarrefourParser,
|
||||
}
|
||||
|
||||
# Cache for parser instances (singleton pattern)
|
||||
|
||||
Reference in new issue
Block a user