{"action":"created","issue":{"url":"https://api.github.com/repos/ruipgil/scraperjs/issues/37","labels_url":"https://api.github.com/repos/ruipgil/scraperjs/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/ruipgil/scraperjs/issues/37/comments","events_url":"https://api.github.com/repos/ruipgil/scraperjs/issues/37/events","html_url":"https://github.com/ruipgil/scraperjs/issues/37","id":79009555,"number":37,"title":"Doesn't install phantomjs dependency (on DynamicScraper only)","user":{"login":"kengz","id":8209263,"avatar_url":"https://avatars.githubusercontent.com/u/8209263?v=3","gravatar_id":"","url":"https://api.github.com/users/kengz","html_url":"https://github.com/kengz","followers_url":"https://api.github.com/users/kengz/followers","following_url":"https://api.github.com/users/kengz/following{/other_user}","gists_url":"https://api.github.com/users/kengz/gists{/gist_id}","starred_url":"https://api.github.com/users/kengz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kengz/subscriptions","organizations_url":"https://api.github.com/users/kengz/orgs","repos_url":"https://api.github.com/users/kengz/repos","events_url":"https://api.github.com/users/kengz/events{/privacy}","received_events_url":"https://api.github.com/users/kengz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-21T14:07:37Z","updated_at":"2015-05-21T14:31:23Z","closed_at":null,"body":"It's a similar issue as [this](https://github.com/ruipgil/scraperjs/issues/30).\r\nTried doing `npm install phantomjs` and then using `scraperjs`, here's what happened:\r\n\r\n```javascript\r\nvar scraperjs = require('scraperjs');\r\n\r\n// Static: runs just fine\r\nscraperjs.StaticScraper.create('https://news.ycombinator.com/')\r\n.scrape(function($) {\r\n return $(\".title a\").map(function() {\r\n     return $(this).text();\r\n }).get();\r\n}, function(res) {\r\n console.log(res);\r\n})\r\n\r\n// Dynamic: complaints about \"phantomjs-node: You don't have 'phantomjs' installed\"\r\nscraperjs.DynamicScraper.create('https://news.ycombinator.com/')\r\n.scrape(function($) {\r\n return $(\".title a\").map(function() {\r\n     return $(this).text();\r\n }).get();\r\n}, function(res) {\r\n console.log(res);\r\n})\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ruipgil/scraperjs/issues/comments/104298386","html_url":"https://github.com/ruipgil/scraperjs/issues/37#issuecomment-104298386","issue_url":"https://api.github.com/repos/ruipgil/scraperjs/issues/37","id":104298386,"user":{"login":"kengz","id":8209263,"avatar_url":"https://avatars.githubusercontent.com/u/8209263?v=3","gravatar_id":"","url":"https://api.github.com/users/kengz","html_url":"https://github.com/kengz","followers_url":"https://api.github.com/users/kengz/followers","following_url":"https://api.github.com/users/kengz/following{/other_user}","gists_url":"https://api.github.com/users/kengz/gists{/gist_id}","starred_url":"https://api.github.com/users/kengz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kengz/subscriptions","organizations_url":"https://api.github.com/users/kengz/orgs","repos_url":"https://api.github.com/users/kengz/repos","events_url":"https://api.github.com/users/kengz/events{/privacy}","received_events_url":"https://api.github.com/users/kengz/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T14:31:23Z","updated_at":"2015-05-21T14:31:23Z","body":"Hi, I just that too. Still the same issue.\r\nWhat is a proper way to install `phantomjs`? I've just read that it's not a proper Node module."}}