Skip to content

TypeError started appearing recently #3

Description

@iganev

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions