A Node.js application for scraping product data from Shopify stores using HyperBrowser and OpenAI.
- Scrape product information from Shopify stores
- Extract product names, prices, descriptions, and images
- Uses HyperBrowser for reliable web scraping
- Integrates with OpenAI for data processing
- Node.js 16 or higher
- npm or yarn
- HyperBrowser API key
- OpenAI API key
- Clone the repository:
git clone https://github.com/your-username/shopify-scraper.git
cd shopify-scraper- Install dependencies:
yarn install- Set up environment variables:
cp .env.example .env- Run the application:
yarn build
yarn start scrape <shopify-url>
yarn start extract <job-id>- The
scrapecommand will start a crawl job and print the job ID. - The
extractcommand will extract the product data from the crawl job and print the extracted data.