Scrapper¶
flowtask.components.ProductCompetitors.scrapper
¶
ProductCompetitors
¶
Bases: FlowComponent, SeleniumService, HTTPService
Product Competitors Scraper Component
Overview: Pluggable component for scraping product information from competitors (BestBuy and Lowes).
Properties: - url_column (str): Name of the column containing URLs to scrape (default: 'url') - account_name_column (str): Name of the column containing retailer name (default: 'account_name') - product_id_column (str): Name of the column containing product IDs (default: 'product_id') - competitors (list): List of competitor brands to search for (e.g. ['Insignia', 'TCL', 'LG', 'Sony', 'Samsung'])