mifi / instauto

Instagram bot / automation library written in Javascript for Node.js
799 stars 145 forks source link

Changes on the instagram page 06.11.20. authorization Error. #34

Closed ivys17 closed 3 years ago

ivys17 commented 3 years ago

You need to make changes to index.js const isLoggedIn = async () => (await page.$x('//nav')).length === 2; - old const isLoggedIn = async () => (await page.$x('//nav')).length === 1; - new

mifi commented 3 years ago

Thanks! I fixed it instead like this:

const isLoggedIn = async () => (await page.$x('//*[@aria-label="Home"]')).length === 1;

...hopefully more robust.

Try 7.0.3

mostolesmakers commented 3 years ago

mm dont work for me image

mifi commented 3 years ago

That’s odd. Works for me. Can you confirm you have the newest version? cat node_modules/instauto/package.json

mostolesmakers commented 3 years ago

sorry, works ok now