matthewmueller / x-ray

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

Update cheerio to 1.0.0-rc.2 #380

Closed wubin1989 closed 2 years ago

wubin1989 commented 2 years ago

Description

$el.text() will extract text in style and script tag in cheerio 0.22.0, that's not my expected behavior, so I updated the dependency to 1.0.0-rc.2. See the cheerio issue #1018 and changelog 1.0.0-rc.2 / 2017-07-02. I think this change will benefit other people too.

Checklist