antchfx / htmlquery

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

Utilities to create *html.Node from http.Request and http.Response #60

Closed MarcusAdriano closed 1 year ago

MarcusAdriano commented 1 year ago

I've used this library a few days ago and I was forced to re-implement in my code LoadURL because my Get request needs customization like custom headers.

Basically there are two new functions:

zhengchun commented 1 year ago

Hello, @MarcusAdriano , First, thanks for your contribution. htmlquery package focusing on XPath query. I encourage developer to implement HTTP requests depend on your project instead of LoadURL(). Not plan add the new HTTP handler method for package, sorry.