the-convocation / twitter-scraper

A port of n0madic/twitter-scraper to Node.js.
https://the-convocation.github.io/twitter-scraper/
MIT License
206 stars 42 forks source link

fix: getFollowers not returning all followers #72

Closed ThijnK closed 10 months ago

ThijnK commented 10 months ago

Problem for #69 was that it for whatever reason returned one empty page at some point even though the pages after that still contained results. Fixed by breaking from the loop only when there have been 5 consecutive empty pages (or the cursor to next page is undefined).

Hidde-Heijnen commented 10 months ago

Yes! I had the same problem