-
Notifications
You must be signed in to change notification settings - Fork 188
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
DynamicScraper from the example not doing anything #57
Comments
+1 |
@jeremythille @abinashmeher999 It will work, if you downgrade phatomjs to 1.9.8 version as mentioned in #53 |
I downgraded to phantomjs 1.9.8 but it still does not work on Mac OS 10.11.5. |
Removing the folder node_modules and install again did the trick for me. |
Downgraded to 1.9.8 and no luck |
Check your version of node. It looks like I'm building a docker image to encapsulate the correct version of node/phantom/scraperjs, as it appears there's a pretty specific set of versions that are required to make this all work. This Dockerfile worked for me:
then:
|
I'm trying out the examples exactly as written. The HackerNews example with
scraperjs.StaticScraper
works perfectly fine and I get a big array of strings.However, replacing
Static
withDynamic
doesn't do anything. At all. The execution just ends with no error. I tried debugging it, adding try/catch statements, but I still get no error.I tried "npm install phantom" too, but it doesn't change anything for scraperjs.
I have no idea what's wrong here.
The text was updated successfully, but these errors were encountered: