notslang / instagram-screen-scrape

scrape public instagram data w/out API access
https://npmjs.com/package/instagram-screen-scrape
GNU General Public License v3.0
162 stars 38 forks source link

Not pulling all comments #25

Open cmac2992 opened 7 years ago

cmac2992 commented 7 years ago

This pretty basic example isn't pulling all of the comments. It grabs ~89 of the 2200+.

const InstagramComments = require("instagram-screen-scrape").InstagramComments;

streamOfComments = new InstagramComments({
  post: "BRB_ooCjlL7"
});
let count = 0;

streamOfComments.on("data", function(comment) {
  console.log(comment);
  console.log("Total comments: ", count++);
});