1.0.4 • Published 4 years ago
squarespace-scraper v1.0.4
Once this package is installed do the following:
- Require the package. Something like,
const scrape = require("squarespace-scraper");
- Call the function, and pass in an array of strings as the argument. Each string should be the URL of a squarespace collection
Alltogether, it should look like this
const scrape = require("squarespace-scraper");
let urlArray = ['http://jennifer-maravillas.squarespace.com/shop-1']
scrape(urlArray)
The scraper will return a result of the JSON that makes up the products in that collection.
Enjoy!