matthewmueller / x-ray

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

Incorrect Header Check #154

Closed iwanjunaid closed 8 years ago

iwanjunaid commented 8 years ago

I try to scrape this page http://www.skysports.com/football/competitions/premier-league/table

but got following error:

{ [Error: incorrect header check] errno: -3, code: 'Z_DATA_ERROR', response: null }

Kikobeats commented 8 years ago

Please follow template to report an issue

falmanna commented 7 years ago

I am having the same problem, did you manage to fix it?

falmanna commented 7 years ago

Okay, I fixed the problem

I am using superagent driver, so it seems the website I am scraping has some different encodings.
This comment helped me fix it:
https://github.com/visionmedia/superagent/issues/260#issuecomment-22608279