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

Getting started? #55

Open
MMRandy opened this issue Feb 6, 2016 · 2 comments
Open

Getting started? #55

MMRandy opened this issue Feb 6, 2016 · 2 comments

Comments

@MMRandy
Copy link

MMRandy commented Feb 6, 2016

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...

@ruipgil
Copy link
Owner

ruipgil commented Feb 6, 2016

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.

@trevorhere
Copy link

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.

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

3 participants