Currently the script throws this error on functions requesting a user page :
/node_modules/instapro/index.js:15 resolve(JSON.parse(eleHTML.split('"ProfilePage":[')[1].split(']},"hostname"')[0]).graphql.user); TypeError: Cannot read property 'split' of undefined
It is solved by checking the status code of the request, a 404 means the user doesn't exists.
Currently the script throws this error on functions requesting a user page :
/node_modules/instapro/index.js:15 resolve(JSON.parse(eleHTML.split('"ProfilePage":[')[1].split(']},"hostname"')[0]).graphql.user); TypeError: Cannot read property 'split' of undefined
It is solved by checking the status code of the request, a 404 means the user doesn't exists.