squarespace-scraper

1.0.4 • Public • Published

Once this package is installed do the following:

  1. Require the package. Something like, const scrape = require("squarespace-scraper");
  2. 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!

Package Sidebar

Install

npm i squarespace-scraper

Weekly Downloads

4

Version

1.0.4

License

none

Unpacked Size

43.4 kB

Total Files

5

Last publish

Collaborators

  • samunt