You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure what is expected to happen when the program gets to the end of the sweepstake pages (start over?) but what I see is the program crashing. I should note I've already increased the timeout to 60 seconds in a couple of places(index.js and giveaway.js) but this appears to be a different one.
Page 160 Start:
giveaway 1 already entered.
giveaway 2 cannot be entered.
giveaway 3 is ready!
waiting for video (~15 secs)...
Whoa, got to re-signin!
no submit button found, oh well. Moving on!
Whoa, got to re-enter password!
giveaway 4 cannot be entered.
giveaway 5 already entered.
giveaway 6 cannot be entered.
giveaway 7 cannot be entered.
giveaway 8 cannot be entered.
giveaway 9 cannot be entered.
giveaway 10 cannot be entered.
giveaway 11 already entered.
giveaway 12 already entered.
giveaway 13 already entered.
giveaway 14 did not exist?
giveaway 15 did not exist?
giveaway 16 did not exist?
giveaway 17 did not exist?
giveaway 18 did not exist?
giveaway 19 did not exist?
giveaway 20 did not exist?
giveaway 21 did not exist?
giveaway 22 did not exist?
giveaway 23 did not exist?
giveaway 24 did not exist?
(node:29820) UnhandledPromiseRejectionWarning: TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded
at Promise.then (/home/famewolf/giveaway-grabber/node_modules/puppeteer/lib/FrameManager.js:1276:21)
at
-- ASYNC --
at Frame. (/home/famewolf/giveaway-grabber/node_modules/puppeteer/lib/helper.js:144:27)
at Page.waitForNavigation (/home/famewolf/giveaway-grabber/node_modules/puppeteer/lib/Page.js:644:49)
at Page. (/home/famewolf/giveaway-grabber/node_modules/puppeteer/lib/helper.js:145:23)
at enterGiveaways (/home/famewolf/giveaway-grabber/src/giveaways.js:221:33)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:29820) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:29820) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered:
What it SHOULD do is spit out No more pages! Goodbye! and exit.
I bet this broke with the selector updates. It's now grabbing `ul.a-pagination li:last-child', but there is probably always a last child. Need to move the try catch there to be around click event.
I'm not sure what is expected to happen when the program gets to the end of the sweepstake pages (start over?) but what I see is the program crashing. I should note I've already increased the timeout to 60 seconds in a couple of places(index.js and giveaway.js) but this appears to be a different one.
Page 160 Start:
giveaway 1 already entered.
giveaway 2 cannot be entered.
giveaway 3 is ready!
waiting for video (~15 secs)...
Whoa, got to re-signin!
no submit button found, oh well. Moving on!
Whoa, got to re-enter password!
giveaway 4 cannot be entered.
giveaway 5 already entered.
giveaway 6 cannot be entered.
giveaway 7 cannot be entered.
giveaway 8 cannot be entered.
giveaway 9 cannot be entered.
giveaway 10 cannot be entered.
giveaway 11 already entered.
giveaway 12 already entered.
giveaway 13 already entered.
giveaway 14 did not exist?
giveaway 15 did not exist?
giveaway 16 did not exist?
giveaway 17 did not exist?
giveaway 18 did not exist?
giveaway 19 did not exist?
giveaway 20 did not exist?
giveaway 21 did not exist?
giveaway 22 did not exist?
giveaway 23 did not exist?
giveaway 24 did not exist?
(node:29820) UnhandledPromiseRejectionWarning: TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded
at Promise.then (/home/famewolf/giveaway-grabber/node_modules/puppeteer/lib/FrameManager.js:1276:21)
at
-- ASYNC --
at Frame. (/home/famewolf/giveaway-grabber/node_modules/puppeteer/lib/helper.js:144:27)
at Page.waitForNavigation (/home/famewolf/giveaway-grabber/node_modules/puppeteer/lib/Page.js:644:49)
at Page. (/home/famewolf/giveaway-grabber/node_modules/puppeteer/lib/helper.js:145:23)
at enterGiveaways (/home/famewolf/giveaway-grabber/src/giveaways.js:221:33)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:29820) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:29820) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered: