bda-research / node-crawler

Web Crawler/Spider for NodeJS + server-side jQuery ;-)
MIT License
6.71k stars 876 forks source link

Jquery not work if response body is buffer #438

Closed 123bistami closed 1 year ago

123bistami commented 2 years ago

Hello,

jquery is not working if response body is buffer. Normally u can convert response body to html string if u add a text to it e.g. res.body += “test“, but i will use the built in jquery function how to do that.

mike442144 commented 1 year ago

Did you set encoding to null?

mike442144 commented 1 year ago

close due to inactive.