ndgigliotti/shopify-spy ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python library and command line tool that can scrape product and collection data from ecommerce stores like Shopify, WooCommerce, Magento, BigCommerce, Squarespace, and other similar sites.

I want it to detect the store type automatically when possible, and if not, fall back to reading product pages from the sitemap and schema data on the page. It should pull product details, variant data, images, and collections when the site supports them. Make it work from both the terminal and from Python code, so I can either run a scrape or import it into a script.

Please save results in easy to use formats like JSONL, JSON, CSV, Excel, and XML. It should be able to handle multiple stores in one run, show progress, and give clear error messages when a site blocks access, times out, or seems to be the wrong platform. Keep it polite with reasonable request limits and retries. If you need to check the latest docs for any library behavior, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab