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

ECONNRESET problem #22

Open ilyanoskov opened 7 years ago

ilyanoskov commented 7 years ago

I get this whenever I try to get all the posts for an account with a lot of posts (more than 1K).

Error: read ECONNRESET
    at exports._errnoException (util.js:1022:11)
    at TLSWrap.onread (net.js:572:26)

just run this command in CLI :

instagram-screen-scrape posts -u instagram

which in turn will try to grab all posts for official instagram account. This is a common issue tbh, I tried to write my own scraper today that would count all the likes for all the posts and ECONNRESET comes up all the time. It seems like there is no reliable way to get all likes from the posts unless you do it through the official API