ruipgil / scraperjs

A complete and versatile web scraper.
MIT License
3.7k stars 188 forks source link

Using iconv-lite to decode ISO-8859-1 page #60

Closed hevertonrodrigues closed 3 years ago

hevertonrodrigues commented 8 years ago

How I can decode the $ result using something like cheerio.load(iconv.decode(html, 'ISO-8859-1'));

tks

ruipgil commented 8 years ago

Take a look at request documentation. I use cheerio, but to load the html string returned by request, not to request the page.