Maximillion195 / google-shopping-list

Scrapes the shopping list from shoppinglist.google.com as Google does not seem to have an API for this.
32 stars 8 forks source link

Timeout error. #1

Closed eouia closed 6 years ago

eouia commented 6 years ago
(node:2591) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded
(node:2591) [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.

When I change puppeteer headless to true,

const browser = await puppeteer.launch({
                headless: true // Turn this to false to debug
            });

the page was stuck after login and display my prime list on the browser. How can I solve this?

eouia commented 6 years ago

I'll close this. your module is so out-of-date, thus it cannot catch the proper DOM of current google shoppinglist.