Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin: extract-ecommerce-shopify #25

Open
cldellow opened this issue Dec 26, 2022 · 0 comments
Open

plugin: extract-ecommerce-shopify #25

cldellow opened this issue Dec 26, 2022 · 0 comments

Comments

@cldellow
Copy link
Owner

cldellow commented Dec 26, 2022

You can access a store's product catalogue at {url}/products.json?limit=250&page={page}, it returns empty array when no more products.

You can access a given product's data at {url}/products/product-handle.json

      // Extract Shopify e-commerce listings
      "extract-ecommerce-shopify": {
        // optional; absent implies .*
        "url-regex": ".*",

        // optional
        "database": "dbname",

        // optional; defaults to dss_ecommerce
        "table": "dss_ecommerce",
      },

Needs https://github.com/cldellow/datasette-scraper#extract_from_responsescraper-config-url-response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant