nacimgoura / instagram-profilecrawl

:computer: Quickly crawl the information (e.g. followers, tags, etc...) of an instagram profile. No login required!
MIT License
121 stars 30 forks source link

small thing #26

Closed shad0xfox closed 6 years ago

shad0xfox commented 6 years ago

in file line 95~97

post.edge_media_to_caption.edges[0].node.text <-- this

because may be empty need some check , or it would stop here, I add something like mentions: (post.edge_media_to_caption.edges.length)?utils.getMentions(post.edge_media_to_caption.edges[0].node.text) : "",

Then it work

thank you

nacimgoura commented 6 years ago

Fixed by https://github.com/nacimgoura/instagram-profilecrawl/commit/c5c3c7f640648d9a8fa712152eba944bc7356fda

Thanks for your help :wink: