Skip to content

Parsers

flowtask.components.ProductCompetitors.parsers

BestBuyScrapper

BestBuyScrapper(*args, **kwargs)

Bases: ProductCompetitorsBase

product_information async

product_information(response, idx, row)

Get the product information from BestBuy.

LowesScrapper

LowesScrapper(*args, **kwargs)

Bases: ProductCompetitorsBase

connect async

connect()

Creates the Driver and Connects to the Site.

disconnect async

disconnect()

Disconnects the Driver and closes the Connection.

product_information async

product_information(response, idx, row)

Get the product information from Lowes.

base

ProductCompetitorsBase

ProductCompetitorsBase(*args, **kwargs)

Bases: SeleniumService, HTTPService

ProductCompetitorsBase Model. Define how competitor product scrappers should work.

connect abstractmethod async
connect()

Creates the Driver and Connects to the Site.

disconnect abstractmethod async
disconnect()

Disconnects the Driver and closes the Connection.

set_empty_values
set_empty_values(row, brand)

Set empty values for all standard columns for a given brand

bestbuy

BestBuyScrapper

BestBuyScrapper(*args, **kwargs)

Bases: ProductCompetitorsBase

product_information async
product_information(response, idx, row)

Get the product information from BestBuy.

lowes

LowesScrapper

LowesScrapper(*args, **kwargs)

Bases: ProductCompetitorsBase

connect async
connect()

Creates the Driver and Connects to the Site.

disconnect async
disconnect()

Disconnects the Driver and closes the Connection.

product_information async
product_information(response, idx, row)

Get the product information from Lowes.