Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crufter/goquery
Jquery style selector engine for HTML documents, in Go.
https://github.com/crufter/goquery
Last synced: about 2 months ago
JSON representation
Jquery style selector engine for HTML documents, in Go.
- Host: GitHub
- URL: https://github.com/crufter/goquery
- Owner: crufter
- Created: 2012-05-31T10:23:20.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-09-08T16:39:20.000Z (over 8 years ago)
- Last Synced: 2024-10-22T06:54:48.710Z (2 months ago)
- Language: Go
- Size: 166 KB
- Stars: 162
- Watchers: 17
- Forks: 36
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Caution!
This library was created before the other with the same name (https://github.com/PuerkitoBio/goquery), but after I saw that there is a new project doing the same thing, I abandoned this.
Use the PuerkitoBio's one. Cheers.goquery
=======Jquery style selector engine for HTML documents, in Go.
Future
======
If the package sees some usage then it will get a more comprehensive API.Example
=======
See "remote.go" in the examples folder.```
package mainimport(
"github.com/opesun/goquery"
)func main() {
x, err := goquery.ParseUrl("http://www.youtube.com/watch?v=ob_nh1WMMzU")
if err != nil {
panic(err)
}
x.Find("#eow-title").Print()
}
```
This will output (if it can load the url):```
spana
Bounty Killer
- Look
```