instauto icon indicating copy to clipboard operation
instauto copied to clipboard

Like button section not found (Action Blocked on liking images)

Open selique opened this issue 5 years ago • 5 comments

Failed to follow user's images solwinkler_ Error: Evaluation failed: Error: Like button section not found at likeCurrentUserImagesPageCode (puppeteer_evaluation_script:38:27) at ExecutionContext._evaluateInternal (/opt/bitnami/projects/instauto/node_modules/puppeteer/lib/cjs/puppeteer/common/Execut ionContext.js:217:19) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async ExecutionContext.evaluate (/opt/bitnami/projects/instauto/node_modules/puppeteer/lib/cjs/puppeteer/common/Execution Context.js:106:16) at async likeCurrentUserImages (/opt/bitnami/projects/instauto/node_modules/instauto/index.js:439:5) at async followUserFollowers (/opt/bitnami/projects/instauto/node_modules/instauto/index.js:509:15) at async Object.followUsersFollowers (/opt/bitnami/projects/instauto/node_modules/instauto/index.js:538:9) at async /opt/bitnami/projects/instauto/example.js:65:5

selique avatar Sep 22 '20 04:09 selique

I'm not sure what's happening here, it seems to only happen sometimes, and I cannot reproduce it.

mifi avatar Sep 22 '20 21:09 mifi

I added code that takes screenshot when this error occurs. enable it with the option screenshotOnError: true

mifi avatar Sep 25 '20 12:09 mifi

1601150049450

After taking a screenshot upon the error, I got this. So it seems to be caused by some kind of throttling from instagram's side.

mifi avatar Sep 27 '20 10:09 mifi

if something happens like that, what I do is delete cookies and restart the service, or is there something else?

sinaukode avatar Sep 30 '20 00:09 sinaukode

i try restart but i think the elements change or id from DOM

selique avatar Oct 01 '20 12:10 selique