Use Case
Extract 1000s of products from multiple categories with:- Product URLs
- Names and descriptions
- Original and sale prices
- Discount percentages
Code
How It Works
- Agent navigates to the e-commerce site
- Writes JavaScript to extract product data from each page
- Loops through categories collecting products
- Stores in variables that persist across steps
- Saves to CSV using pandas or csv module
- Returns deterministic code you can modify and rerun
Key Benefits
- Function reuse: Extraction code is written once, used many times
- Scale: Easily collect 100s or 1000s of items
- Deterministic: The generated Python code can be saved and rerun
- Data processing: Built-in pandas support for cleaning and transforming data