Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PuerkitoBio/goquery
/ functions
Functions
666 in github.com/PuerkitoBio/goquery
⨍
Functions
666
◇
Types & classes
7
Function
BenchmarkPrevFilteredUntil
(b *testing.B)
bench_traversal_test.go:693
Function
BenchmarkPrevFilteredUntilNodes
(b *testing.B)
bench_traversal_test.go:730
Function
BenchmarkPrevFilteredUntilSelection
(b *testing.B)
bench_traversal_test.go:711
Function
BenchmarkPrevUntil
(b *testing.B)
bench_traversal_test.go:579
Function
BenchmarkPrevUntilNodes
(b *testing.B)
bench_traversal_test.go:616
Function
BenchmarkPrevUntilSelection
(b *testing.B)
bench_traversal_test.go:597
Function
BenchmarkRemoveClass
(b *testing.B)
bench_property_test.go:62
Function
BenchmarkSiblings
(b *testing.B)
bench_traversal_test.go:340
Function
BenchmarkSiblingsFiltered
(b *testing.B)
bench_traversal_test.go:358
Function
BenchmarkSingleMatcher
(b *testing.B)
bench_traversal_test.go:806
Function
BenchmarkSlice
(b *testing.B)
bench_array_test.go:38
Function
BenchmarkText
(b *testing.B)
bench_property_test.go:21
Method
ContentsMatcher
ContentsMatcher gets the children of each element in the Selection, filtered by the specified matcher. It returns a new Selection object containing th
traversal.go:85
Function
Example
This example scrapes the reviews shown on the home page of metalsucks.net.
example_test.go:15
Function
ExampleNewDocumentFromReader_file
This example shows how to use NewDocumentFromReader from a file.
example_test.go:47
Function
ExampleNewDocumentFromReader_string
This example shows how to use NewDocumentFromReader from a string.
example_test.go:63
Function
ExampleSingle
()
example_test.go:85
Function
ExampleText
This example shows how to use the goquery.Text function to extract clean, human-readable text from a selection, similar to BeautifulSoup's get_text.
example_test.go:115
Method
Filter
Filter reduces the set of matched elements to those that match the selector string. It returns a new Selection object for this subset of matching elem
filter.go:7
Method
Filter
(ns []*html.Node)
type.go:212
Method
IndexMatcher
IndexMatcher returns the position of the first element within the Selection object relative to the elements matched by the matcher, or -1 if not found
array.go:109
Method
Match
(n *html.Node)
type.go:210
Method
MatchAll
(n *html.Node)
type.go:198
Method
MatchAll
(n *html.Node)
type.go:211
Function
NewDocument
NewDocument is a Document constructor that takes a string URL as argument. It loads the specified document, parses it, and stores the root Document no
type.go:37
Method
NextAllMatcher
NextAllMatcher gets all the following siblings of each element in the Selection filtered by a matcher. It returns a new Selection object containing th
traversal.go:327
Method
NextFilteredUntilMatcher
NextFilteredUntilMatcher is like NextUntilMatcher, with the option to filter the results based on a matcher. It returns a new Selection object contain
traversal.go:450
Method
NextUntilMatcher
NextUntilMatcher gets all following siblings of each element up to but not including the element matched by the matcher. It returns a new Selection ob
traversal.go:382
Method
ParentMatcher
ParentMatcher gets the parent of each element in the Selection filtered by a matcher. It returns a new Selection object containing the matched element
traversal.go:123
Method
ParentsFilteredUntilMatcher
ParentsFilteredUntilMatcher is like ParentsUntilMatcher, with the option to filter the results based on a matcher. It returns a new Selection object c
traversal.go:236
Method
ParentsUntilMatcher
ParentsUntilMatcher gets the ancestors of each element in the Selection, up to but not including the element matched by the matcher. It returns a new
traversal.go:206
Method
PrevAllMatcher
PrevAllMatcher gets all the preceding siblings of each element in the Selection filtered by a matcher. It returns a new Selection object containing th
traversal.go:367
Method
PrevFilteredUntilMatcher
PrevFilteredUntilMatcher is like PrevUntilMatcher, with the option to filter the results based on a matcher. It returns a new Selection object contain
traversal.go:499
Method
PrevUntilMatcher
PrevUntilMatcher gets all preceding siblings of each element up to but not including the element matched by the matcher. It returns a new Selection ob
traversal.go:416
Method
SiblingsMatcher
SiblingsMatcher gets the siblings of each element in the Selection filtered by a matcher. It returns a new Selection object containing the matched ele
traversal.go:287
Function
TestAdd
(t *testing.T)
expand_test.go:7
Function
TestAddBack
(t *testing.T)
expand_test.go:98
Function
TestAddBackFiltered
(t *testing.T)
expand_test.go:109
Function
TestAddBackFilteredRollback
(t *testing.T)
expand_test.go:114
Function
TestAddBackRollback
(t *testing.T)
expand_test.go:103
Function
TestAddClass
(t *testing.T)
property_test.go:141
Function
TestAddClassSimilar
(t *testing.T)
property_test.go:151
Function
TestAddClasses
(t *testing.T)
property_test.go:170
Function
TestAddEmptyClass
(t *testing.T)
property_test.go:160
Function
TestAddInvalid
(t *testing.T)
expand_test.go:12
Function
TestAddNodes
(t *testing.T)
expand_test.go:50
Function
TestAddNodesBig
(t *testing.T)
expand_test.go:69
Function
TestAddNodesNone
(t *testing.T)
expand_test.go:57
Function
TestAddNodesRollback
(t *testing.T)
expand_test.go:62
Function
TestAddRollback
(t *testing.T)
expand_test.go:22
Function
TestAddSelection
(t *testing.T)
expand_test.go:28
Function
TestAddSelectionNil
(t *testing.T)
expand_test.go:35
Function
TestAddSelectionRollback
(t *testing.T)
expand_test.go:43
Function
TestAfter
(t *testing.T)
manipulation_test.go:12
Function
TestAfterHtml
(t *testing.T)
manipulation_test.go:52
Function
TestAfterHtmlContext
(t *testing.T)
manipulation_test.go:60
Function
TestAfterMany
(t *testing.T)
manipulation_test.go:22
Function
TestAfterSelection
(t *testing.T)
manipulation_test.go:42
Function
TestAfterWithRemoved
(t *testing.T)
manipulation_test.go:32
Function
TestAndSelf
(t *testing.T)
expand_test.go:87
Function
TestAndSelfRollback
(t *testing.T)
expand_test.go:92
Function
TestAppend
(t *testing.T)
manipulation_test.go:80
Function
TestAppendBody
(t *testing.T)
manipulation_test.go:89
Function
TestAppendClone
(t *testing.T)
manipulation_test.go:120
Function
TestAppendHtml
(t *testing.T)
manipulation_test.go:129
Function
TestAppendHtmlContext
(t *testing.T)
manipulation_test.go:137
Function
TestAppendSelection
(t *testing.T)
manipulation_test.go:99
Function
TestAppendSelectionExisting
(t *testing.T)
manipulation_test.go:110
Function
TestAttrExists
(t *testing.T)
property_test.go:9
Function
TestAttrNotExist
(t *testing.T)
property_test.go:30
Function
TestAttrOr
(t *testing.T)
property_test.go:17
Function
TestBefore
(t *testing.T)
manipulation_test.go:158
Function
TestBeforeHtml
(t *testing.T)
manipulation_test.go:188
Function
TestBeforeHtmlContext
(t *testing.T)
manipulation_test.go:196
Function
TestBeforeSelection
(t *testing.T)
manipulation_test.go:178
Function
TestBeforeWithRemoved
(t *testing.T)
manipulation_test.go:168
Function
TestChainedFind
(t *testing.T)
traversal_test.go:41
Function
TestChainedFindInvalid
(t *testing.T)
traversal_test.go:46
Function
TestChildren
(t *testing.T)
traversal_test.go:51
Function
TestChildrenDuplicateSourceNodes
(t *testing.T)
traversal_test.go:56
Function
TestChildrenFiltered
(t *testing.T)
traversal_test.go:88
Function
TestChildrenFilteredInvalid
(t *testing.T)
traversal_test.go:93
Function
TestChildrenFilteredNone
(t *testing.T)
traversal_test.go:120
Function
TestChildrenFilteredRollback
(t *testing.T)
traversal_test.go:98
Function
TestChildrenRollback
(t *testing.T)
traversal_test.go:71
Function
TestClosestInvalid
(t *testing.T)
traversal_test.go:708
Function
TestClosestItself
(t *testing.T)
traversal_test.go:688
Function
TestClosestMany
(t *testing.T)
traversal_test.go:714
Function
TestClosestNoDupes
(t *testing.T)
traversal_test.go:695
Function
TestClosestNodesItself
(t *testing.T)
traversal_test.go:759
Function
TestClosestNodesMany
(t *testing.T)
traversal_test.go:778
Function
TestClosestNodesNoDupes
(t *testing.T)
traversal_test.go:765
Function
TestClosestNodesNone
(t *testing.T)
traversal_test.go:772
Function
TestClosestNodesRollback
(t *testing.T)
traversal_test.go:785
Function
TestClosestNone
(t *testing.T)
traversal_test.go:702
Function
TestClosestRollback
(t *testing.T)
traversal_test.go:721
Function
TestClosestSelectionItself
(t *testing.T)
traversal_test.go:727
Function
TestClosestSelectionMany
(t *testing.T)
traversal_test.go:746
Function
TestClosestSelectionNoDupes
(t *testing.T)
traversal_test.go:733
Function
TestClosestSelectionNone
(t *testing.T)
traversal_test.go:740
← previous
next →
301–400 of 666, ranked by callers