MCPcopy Create free account

hub / github.com/PuerkitoBio/goquery / functions

Functions666 in github.com/PuerkitoBio/goquery

FunctionBenchmarkPrevFilteredUntil
(b *testing.B)
bench_traversal_test.go:693
FunctionBenchmarkPrevFilteredUntilNodes
(b *testing.B)
bench_traversal_test.go:730
FunctionBenchmarkPrevFilteredUntilSelection
(b *testing.B)
bench_traversal_test.go:711
FunctionBenchmarkPrevUntil
(b *testing.B)
bench_traversal_test.go:579
FunctionBenchmarkPrevUntilNodes
(b *testing.B)
bench_traversal_test.go:616
FunctionBenchmarkPrevUntilSelection
(b *testing.B)
bench_traversal_test.go:597
FunctionBenchmarkRemoveClass
(b *testing.B)
bench_property_test.go:62
FunctionBenchmarkSiblings
(b *testing.B)
bench_traversal_test.go:340
FunctionBenchmarkSiblingsFiltered
(b *testing.B)
bench_traversal_test.go:358
FunctionBenchmarkSingleMatcher
(b *testing.B)
bench_traversal_test.go:806
FunctionBenchmarkSlice
(b *testing.B)
bench_array_test.go:38
FunctionBenchmarkText
(b *testing.B)
bench_property_test.go:21
MethodContentsMatcher
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
FunctionExample
This example scrapes the reviews shown on the home page of metalsucks.net.
example_test.go:15
FunctionExampleNewDocumentFromReader_file
This example shows how to use NewDocumentFromReader from a file.
example_test.go:47
FunctionExampleNewDocumentFromReader_string
This example shows how to use NewDocumentFromReader from a string.
example_test.go:63
FunctionExampleSingle
()
example_test.go:85
FunctionExampleText
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
MethodFilter
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
MethodFilter
(ns []*html.Node)
type.go:212
MethodIndexMatcher
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
MethodMatch
(n *html.Node)
type.go:210
MethodMatchAll
(n *html.Node)
type.go:198
MethodMatchAll
(n *html.Node)
type.go:211
FunctionNewDocument
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
MethodNextAllMatcher
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
MethodNextFilteredUntilMatcher
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
MethodNextUntilMatcher
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
MethodParentMatcher
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
MethodParentsFilteredUntilMatcher
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
MethodParentsUntilMatcher
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
MethodPrevAllMatcher
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
MethodPrevFilteredUntilMatcher
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
MethodPrevUntilMatcher
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
MethodSiblingsMatcher
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
FunctionTestAdd
(t *testing.T)
expand_test.go:7
FunctionTestAddBack
(t *testing.T)
expand_test.go:98
FunctionTestAddBackFiltered
(t *testing.T)
expand_test.go:109
FunctionTestAddBackFilteredRollback
(t *testing.T)
expand_test.go:114
FunctionTestAddBackRollback
(t *testing.T)
expand_test.go:103
FunctionTestAddClass
(t *testing.T)
property_test.go:141
FunctionTestAddClassSimilar
(t *testing.T)
property_test.go:151
FunctionTestAddClasses
(t *testing.T)
property_test.go:170
FunctionTestAddEmptyClass
(t *testing.T)
property_test.go:160
FunctionTestAddInvalid
(t *testing.T)
expand_test.go:12
FunctionTestAddNodes
(t *testing.T)
expand_test.go:50
FunctionTestAddNodesBig
(t *testing.T)
expand_test.go:69
FunctionTestAddNodesNone
(t *testing.T)
expand_test.go:57
FunctionTestAddNodesRollback
(t *testing.T)
expand_test.go:62
FunctionTestAddRollback
(t *testing.T)
expand_test.go:22
FunctionTestAddSelection
(t *testing.T)
expand_test.go:28
FunctionTestAddSelectionNil
(t *testing.T)
expand_test.go:35
FunctionTestAddSelectionRollback
(t *testing.T)
expand_test.go:43
FunctionTestAfter
(t *testing.T)
manipulation_test.go:12
FunctionTestAfterHtml
(t *testing.T)
manipulation_test.go:52
FunctionTestAfterHtmlContext
(t *testing.T)
manipulation_test.go:60
FunctionTestAfterMany
(t *testing.T)
manipulation_test.go:22
FunctionTestAfterSelection
(t *testing.T)
manipulation_test.go:42
FunctionTestAfterWithRemoved
(t *testing.T)
manipulation_test.go:32
FunctionTestAndSelf
(t *testing.T)
expand_test.go:87
FunctionTestAndSelfRollback
(t *testing.T)
expand_test.go:92
FunctionTestAppend
(t *testing.T)
manipulation_test.go:80
FunctionTestAppendBody
(t *testing.T)
manipulation_test.go:89
FunctionTestAppendClone
(t *testing.T)
manipulation_test.go:120
FunctionTestAppendHtml
(t *testing.T)
manipulation_test.go:129
FunctionTestAppendHtmlContext
(t *testing.T)
manipulation_test.go:137
FunctionTestAppendSelection
(t *testing.T)
manipulation_test.go:99
FunctionTestAppendSelectionExisting
(t *testing.T)
manipulation_test.go:110
FunctionTestAttrExists
(t *testing.T)
property_test.go:9
FunctionTestAttrNotExist
(t *testing.T)
property_test.go:30
FunctionTestAttrOr
(t *testing.T)
property_test.go:17
FunctionTestBefore
(t *testing.T)
manipulation_test.go:158
FunctionTestBeforeHtml
(t *testing.T)
manipulation_test.go:188
FunctionTestBeforeHtmlContext
(t *testing.T)
manipulation_test.go:196
FunctionTestBeforeSelection
(t *testing.T)
manipulation_test.go:178
FunctionTestBeforeWithRemoved
(t *testing.T)
manipulation_test.go:168
FunctionTestChainedFind
(t *testing.T)
traversal_test.go:41
FunctionTestChainedFindInvalid
(t *testing.T)
traversal_test.go:46
FunctionTestChildren
(t *testing.T)
traversal_test.go:51
FunctionTestChildrenDuplicateSourceNodes
(t *testing.T)
traversal_test.go:56
FunctionTestChildrenFiltered
(t *testing.T)
traversal_test.go:88
FunctionTestChildrenFilteredInvalid
(t *testing.T)
traversal_test.go:93
FunctionTestChildrenFilteredNone
(t *testing.T)
traversal_test.go:120
FunctionTestChildrenFilteredRollback
(t *testing.T)
traversal_test.go:98
FunctionTestChildrenRollback
(t *testing.T)
traversal_test.go:71
FunctionTestClosestInvalid
(t *testing.T)
traversal_test.go:708
FunctionTestClosestItself
(t *testing.T)
traversal_test.go:688
FunctionTestClosestMany
(t *testing.T)
traversal_test.go:714
FunctionTestClosestNoDupes
(t *testing.T)
traversal_test.go:695
FunctionTestClosestNodesItself
(t *testing.T)
traversal_test.go:759
FunctionTestClosestNodesMany
(t *testing.T)
traversal_test.go:778
FunctionTestClosestNodesNoDupes
(t *testing.T)
traversal_test.go:765
FunctionTestClosestNodesNone
(t *testing.T)
traversal_test.go:772
FunctionTestClosestNodesRollback
(t *testing.T)
traversal_test.go:785
FunctionTestClosestNone
(t *testing.T)
traversal_test.go:702
FunctionTestClosestRollback
(t *testing.T)
traversal_test.go:721
FunctionTestClosestSelectionItself
(t *testing.T)
traversal_test.go:727
FunctionTestClosestSelectionMany
(t *testing.T)
traversal_test.go:746
FunctionTestClosestSelectionNoDupes
(t *testing.T)
traversal_test.go:733
FunctionTestClosestSelectionNone
(t *testing.T)
traversal_test.go:740
← previousnext →301–400 of 666, ranked by callers