antchfx / htmlquery

htmlquery is golang XPath package for HTML query.
https://github.com/antchfx/xpath
MIT License
723 stars 73 forks source link

`LoadURL()` supports 'gzip ', 'deflate' decompression #61

Closed zhengchun closed 1 year ago

zhengchun commented 1 year ago

Supports 'gzip ', 'deflate' decompress when calling LoadURL() and the server response Content-Encoding HTTP Header values is one of gzip or deflate.