Open MMRandy opened 8 years ago
You can test scraperjs
by cloning the project and run grunt unit
.
However, if you want to use this, just npm install scraperjs
and start by the examples.
Is there a way to get around CORS using this package? I keep getting this error: Failed to load https://www.imdb.com/: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Sorry, but not following how to simply run the express server and check the project out. How do you start the server and pass in a url to be scraped? I ran "grunt serve", and console reported that it was listening on localhost:3000, but the router does not seem to be catching anything. I'm missing something basic here...