matthewmueller / x-ray

The next web scraper. See through the <html> noise.
MIT License
5.87k stars 349 forks source link

ECCONRESET #261

Closed LeoMartinDev closed 5 years ago

LeoMartinDev commented 7 years ago

Subject of the issue

Unhandled event ECCONRESET while scrapping (status code 429, I'm getting kicked out).

events.js:160                                                                                                                                                                                    
      throw er; // Unhandled 'error' event                                                                                                                                                       
      ^                                                                                                                                                                                          

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

Your environment

Steps to reproduce

Stream broken ? Try on Facebook or other website with scrapping protections.

lathropd commented 5 years ago

Can you share example code and the site being scraped?

lathropd commented 5 years ago

No response. Closing issue.