node-horseman icon indicating copy to clipboard operation
node-horseman copied to clipboard

Update because it is not finding "next page" link

Open kyuchukovv opened this issue 8 years ago • 3 comments

kyuchukovv avatar Apr 07 '17 14:04 kyuchukovv

The example works fine for me the way it is. Could you post the output of running it with debugging on (i.e., DEBUG='horseman*' BLUEBIRD_DEBUG=1 node examples/links.js)?

awlayton avatar Apr 07 '17 19:04 awlayton

http://prntscr.com/etpzw3

Unhandled rejection click evaluatePage

global code evaluateJavaScript@[native code] evaluate@phantomjs://platform/webpage.js:390:39 phantomjs://code/bridge.js:121:61 at C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\node-horseman\lib\actions.js:992:36 at tryCatcher (C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\bluebird\js\release\util.js:16:23) at Function.Promise.fromNode.Promise.fromCallback (C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\bluebird\js\release\promise.js:180:30) at Horseman. (C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\node-horseman\lib\actions.js:990:29) at Horseman.tryCatcher (C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\bluebird\js\release\promise.js:512:31) at Promise._settlePromise (C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\bluebird\js\release\promise.js:569:18) at Promise._settlePromiseCtx (C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\bluebird\js\release\promise.js:606:10) at Async._drainQueue (C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\bluebird\js\release\async.js:138:12) at Async._drainQueues (C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\bluebird\js\release\async.js:143:10) at Immediate.Async.drainQueues (C:\Users\KeyHammer\Documents\Dev\scrape\node_modules\bluebird\js\release\async.js:17:14) at runCallback (timers.js:637:20) at tryOnImmediate (timers.js:610:5) at processImmediate [as _immediateCallback] (timers.js:582:5)

On Fri, 7 Apr 2017 at 22:24 Alex Layton [email protected] wrote:

The example works fine for me the way it is. Could you post the output of running it with debugging on (i.e., DEBUG='horseman*' BLUEBIRD_DEBUG=1 node examples/links.js)?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/johntitus/node-horseman/pull/274#issuecomment-292629332, or mute the thread https://github.com/notifications/unsubscribe-auth/AII4V49_FDv7aufnXOdFN12FO9EcyGNjks5rto1SgaJpZM4M2_fg .

kyuchukovv avatar Apr 07 '17 19:04 kyuchukovv

Please run with the debugging variables set like in my comment. It makes the log useful.

awlayton avatar Apr 07 '17 19:04 awlayton