Search
Preparing search index...
The search index is not available
nyaasi-api by ejnshtein - v3.1.3
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"types/cheerio.d"
cheerio
CheerioAPI
Interface CheerioAPI
Hierarchy
Root
CheerioAPI
Callable
__call
(
selector
:
string
)
:
Cheerio
__call
(
selector
:
string
, context
:
string
)
:
Cheerio
__call
(
selector
:
string
, context
:
Element
)
:
Cheerio
__call
(
selector
:
string
, context
:
Element
[]
)
:
Cheerio
__call
(
selector
:
string
, context
:
Cheerio
)
:
Cheerio
__call
(
selector
:
string
, context
:
string
, root
:
string
)
:
Cheerio
__call
(
selector
:
string
, context
:
Element
, root
:
string
)
:
Cheerio
__call
(
selector
:
string
, context
:
Element
[]
, root
:
string
)
:
Cheerio
__call
(
selector
:
string
, context
:
Cheerio
, root
:
string
)
:
Cheerio
__call
(
selector
:
unknown
)
:
Cheerio
Parameters
selector:
string
Returns
Cheerio
Parameters
selector:
string
context:
string
Returns
Cheerio
Parameters
selector:
string
context:
Element
Returns
Cheerio
Parameters
selector:
string
context:
Element
[]
Returns
Cheerio
Parameters
selector:
string
context:
Cheerio
Returns
Cheerio
Parameters
selector:
string
context:
string
root:
string
Returns
Cheerio
Parameters
selector:
string
context:
Element
root:
string
Returns
Cheerio
Parameters
selector:
string
context:
Element
[]
root:
string
Returns
Cheerio
Parameters
selector:
string
context:
Cheerio
root:
string
Returns
Cheerio
Parameters
selector:
unknown
Returns
Cheerio
Index
Properties
version
Methods
contains
html
load
parseHTML
root
xml
Properties
version
version
:
string
Methods
contains
contains
(
container
:
Element
, contained
:
Element
)
:
boolean
Parameters
container:
Element
contained:
Element
Returns
boolean
html
html
(
options
?:
CheerioParserOptions
)
:
string
html
(
dom
:
string
|
Cheerio
|
Element
, options
?:
CheerioParserOptions
)
:
string
Parameters
Optional
options:
CheerioParserOptions
Returns
string
Parameters
dom:
string
|
Cheerio
|
Element
Optional
options:
CheerioParserOptions
Returns
string
load
load
(
html
:
string
|
{
toString
:
any
}
, options
?:
CheerioParserOptions
)
:
Root
load
(
element
:
Element
, options
?:
CheerioParserOptions
)
:
Root
Parameters
html:
string
|
{
toString
:
any
}
Optional
options:
CheerioParserOptions
Returns
Root
Parameters
element:
Element
Optional
options:
CheerioParserOptions
Returns
Root
parseHTML
parseHTML
(
data
:
string
, context
?:
Document
, keepScripts
?:
boolean
)
:
Document
[]
Parameters
data:
string
Optional
context:
Document
Optional
keepScripts:
boolean
Returns
Document
[]
root
root
(
)
:
Cheerio
Returns
Cheerio
xml
xml
(
dom
?:
string
|
Cheerio
|
Element
)
:
string
Parameters
Optional
dom:
string
|
Cheerio
|
Element
Returns
string
Globals
"src/
Agent"
"src/
Nyaa"
"src/
Nyaa
Rss"
"src/
Scraper"
"src/index"
"src/lib/deepmerge"
"src/lib/get-
params"
"types/agent.d"
"types/awaited.d"
"types/categories.d"
"types/cheerio.d"
cheerio
"types/domhandler.d"
"types/index.d"
"types/nyaa.d"
Cheerio
CheerioAPI
version
contains
html
load
parseHTML
root
xml
Cheerio
Parser
Options
Root
Selector
Attr
Function
Generated using
TypeDoc