instagram-scraper icon indicating copy to clipboard operation
instagram-scraper copied to clipboard

Request Errors

Open dycops opened this issue 3 years ago • 8 comments

If you have a problems with its RequestError: Error: Exceeded maxRedirects. Probably stuck in a redirect loop or MaxListenersExceededWarning: Possible EventEmitter memory leak detected.

just add, it's work for me

session: "sessionid=BLAHLBAH; ds_user_id=YOUR_ID"

dycops avatar Jul 04 '22 07:07 dycops

Thanks @dycops!

olivierodo avatar Jul 12 '22 16:07 olivierodo

Thanks @dycops looks like its a requirement from July, single sessionid no longer enough

falkenbach avatar Sep 05 '22 06:09 falkenbach

If you have a problems with its RequestError: Error: Exceeded maxRedirects. Probably stuck in a redirect loop or MaxListenersExceededWarning: Possible EventEmitter memory leak detected.

just add, it's work for me

session: "sessionid=BLAHLBAH; ds_user_id=YOUR_ID"

what is ds_user_id? my instagram username?

thoriqazzikraa avatar Oct 25 '22 20:10 thoriqazzikraa

@thoriqazzikraa open dev tools > application > cookies chrome_o1ZsJQLl5D

dycops avatar Oct 26 '22 16:10 dycops

@thoriqazzikraa open dev tools > application > cookies chrome_o1ZsJQLl5D

i got it but can you do example for this? idk how to put my ds_user in options

thoriqazzikraa avatar Oct 26 '22 18:10 thoriqazzikraa

@thoriqazzikraa open dev tools > application > cookies chrome_o1ZsJQLl5D

Screenshot_2022-10-27-01-18-44-13_375f2148cf8fa4d7b3a7c6a3ff0c7e6c

thoriqazzikraa avatar Oct 26 '22 18:10 thoriqazzikraa

nah i think the cookie is starts with ig_did

thoriqazzikraa avatar Oct 26 '22 18:10 thoriqazzikraa

@thoriqazzikraa check your options in session key

options: {
...
session: "sessionid=YOUR_SESSION_ID; ds_user_id=YOUR_ID"
...
}

not set "sessionid="

dycops avatar Oct 27 '22 19:10 dycops