• Stars
    star
    164
  • Rank 230,032 (Top 5 %)
  • Language
    Go
  • Created over 12 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Jquery style selector engine for HTML documents, in Go.

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 main

import(
	"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):

 span

    a
       Bounty Killer
     - Look

More Repositories

1

haquery

jQuery for Haskell
Haskell
67
star
2

minima

Scripting language for Go.
Go
39
star
3

hypecms

CMS in Go and MongoDb.
Go
39
star
4

slugify

For pretty urls.
Go
17
star
5

nested

This Go package makes it easier to handle nested JSON documents.
Go
11
star
6

nocrud

A no more boring CRUD coding framework for realtime and not so realtime web apps.
Go
8
star
7

btree

This is technically a B+Tree, but the btree name is easier on the tongoue :). Completely improvised and not based on anything sane
Go
8
star
8

functional

A functional "standard" library for Golang.
Go
8
star
9

copyrecur

Copy a whole directory tree. Current implementation is a packaged version of Jaybill McCarthy's code which can be found at http://jayblog.jaybill.com/post/id/26.
Go
6
star
10

banner

ASCII art println
Go
5
star
11

tiredd

A toy Reddit clone built on free APIs
TypeScript
4
star
12

puller

Poor man's Kubernetes
Go
4
star
13

jsonlang

A JSON based retarded scripting language for Go.
Go
4
star
14

hakit

A Haskell web toolkit.
Haskell
4
star
15

trigga

Pub/sub messaging server.
Go
4
star
16

phprelude

Haskell prelude ported to PHP :)
PHP
3
star
17

paging

A simple paging script written in Go, for use with template engines like mustache, or the builting template package of Go.
Go
3
star
18

lexer

Simple lexer library.
Go
3
star
19

extract

Extract module extracts and validates data coming from http Post requests.
Go
2
star
20

routep

The Routep Go package is an overly simplistic way of extracting data from URLs.
Go
2
star
21

resolver

Automatic resolution of MongoDb foreign keys without DBRefs.
Go
2
star
22

hypecms-shared

JS libraries used by HypeCMS, separated from the project to prevent statistics pollution.
JavaScript
2
star
23

require

The Require Go package allows you to do file inclusion in any file/string.
Go
2
star
24

micro-blog-frontend

TypeScript
1
star
25

sanitize

Go
1
star