Costco¶
flowtask.components.Costco
¶
Costco Product Reviews Scraper using Bazaarvoice API.
Example configuration:
Costco
¶
Bases: ReviewScrapper
Costco Product Reviews Scraper.
This component extracts product reviews from Costco using the Bazaarvoice API. It expects a DataFrame with product URLs or product IDs.
extract_product_id
¶
Extract product ID from Costco URL.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
product_url
|
str
|
Costco product URL |
required |
Returns:
| Type | Description |
|---|---|
str
|
Product ID as string |
Example
URL: https://www.costco.com/kidkraft-atrium-breeze-wooden-outdoor-playhouse-with-sunroom--play-kitchen.product.4000317158.html Returns: 4000317158
product_details
async
¶
Extract product details (placeholder for future implementation).
product_info
async
¶
Extract product information (placeholder for future implementation).