We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I try the base case example provided in the README with hacker news, here is the error I get back in my console:
Cannot connect to browser: { Error: connect ECONNREFUSED 127.0.0.1:9222 at Object.exports._errnoException (util.js:1026:11) at exports._exceptionWithHostPort (util.js:1049:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1136:14) code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 9222 } GET /api/scrape?url=https://news.ycombinator.com&selector=.title+a 400 41.008 ms - 110
The text was updated successfully, but these errors were encountered:
same issue
UPDATE:
I was able to get this script work by installing Google Chrome Canary and running it as a headless browser.
Sorry, something went wrong.
@amite @hishamhaniffa I'm running regular Google Chrome 61.0.3163.100 on a Mac.
Did you use the --headless option as specified in README?
--headless
No branches or pull requests
When I try the base case example provided in the README with hacker news, here is the error I get back in my console:
The text was updated successfully, but these errors were encountered: