Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError started appearing recently #3

Open
iganev opened this issue May 8, 2018 · 0 comments
Open

TypeError started appearing recently #3

iganev opened this issue May 8, 2018 · 0 comments

Comments

@iganev
Copy link

iganev commented May 8, 2018

The tool used to work pretty well, but recently this error started occurring every time you run the job.

`
/node_modules/instagram-crawler/lib/userpage.js:22
var user_name = user_data.username;
^

TypeError: Cannot read property 'username' of undefined
at Object. (/node_modules/instagram-crawler/lib/userpage.js:22:44)
at initialize.exports.each (/node_modules/cheerio/lib/api/traversing.js:300:24)
at Object.handler [as callback] (/node_modules/instagram-crawler/lib/userpage.js:13:25)
at Crawler._injected (/node_modules/crawler/lib/crawler.js:356:13)
at Crawler._inject (/node_modules/crawler/lib/crawler.js:137:9)
at Crawler._onContent (/node_modules/crawler/lib/crawler.js:349:10)
at Request._callback (/node_modules/crawler/lib/crawler.js:301:14)
at Request.self.callback (/node_modules/request/request.js:186:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
`

Any chance for this to be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant