Search
Preparing search index...
The search index is not available
source-scraper-dom-runner
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
DomRunner
Class DomRunner<T>
Type parameters
T
Hierarchy
Runner
<
T
,
IDomRunnerOptions
,
IDomRunnerArgs
>
DomRunner
Implements
IConfigurable
<
IDomRunnerOptions
>
IRunner
<
T
,
IDomRunnerOptions
,
IDomRunnerArgs
>
IDomRunner
<
T
>
Index
Methods
change
Options
exec
get
Options
run
merge
Options
Object literals
default
Options
Methods
change
Options
change
Options
(
options
:
Partial
<
IDomRunnerOptions
>
)
:
IDomRunnerOptions
Parameters
options:
Partial
<
IDomRunnerOptions
>
Returns
IDomRunnerOptions
Protected
exec
exec
(
url
:
string
, scraper
:
function
, options
:
IDomRunnerOptions
)
:
Promise
<
T
>
Parameters
url:
string
scraper:
function
(
args
:
IDomRunnerArgs
)
:
Promise
<
T
>
Parameters
args:
IDomRunnerArgs
Returns
Promise
<
T
>
options:
IDomRunnerOptions
Returns
Promise
<
T
>
get
Options
get
Options
(
options
?:
Partial
<
IDomRunnerOptions
>
)
:
IDomRunnerOptions
Parameters
Optional
options:
Partial
<
IDomRunnerOptions
>
Returns
IDomRunnerOptions
run
run
(
url
:
string
, scraper
:
function
, options
?:
RO
)
:
Promise
<
T
>
Parameters
url:
string
scraper:
function
(
args
:
IDomRunnerArgs
)
:
Promise
<
T
>
Parameters
args:
IDomRunnerArgs
Returns
Promise
<
T
>
Optional
options:
RO
Returns
Promise
<
T
>
Static
merge
Options
merge
Options<O>
(
o1
:
O
, o2
:
Partial
<
O
>
|
O
|
undefined
)
:
O
merge
Options<O>
(
o1
:
O
|
Partial
<
O
>
|
undefined
, o2
:
O
)
:
O
merge
Options<O>
(
o1
:
Partial
<
O
>
|
undefined
, o2
:
Partial
<
O
>
)
:
Partial
<
O
>
merge
Options<O>
(
o1
:
Partial
<
O
>
, o2
:
Partial
<
O
>
|
undefined
)
:
Partial
<
O
>
merge
Options<O>
(
o1
:
Partial
<
O
>
|
undefined
, o2
:
Partial
<
O
>
|
undefined
)
:
Partial
<
O
>
|
undefined
Type parameters
O
:
IOptions
Parameters
o1:
O
o2:
Partial
<
O
>
|
O
|
undefined
Returns
O
Type parameters
O
:
IOptions
Parameters
o1:
O
|
Partial
<
O
>
|
undefined
o2:
O
Returns
O
Type parameters
O
:
IOptions
Parameters
o1:
Partial
<
O
>
|
undefined
o2:
Partial
<
O
>
Returns
Partial
<
O
>
Type parameters
O
:
IOptions
Parameters
o1:
Partial
<
O
>
o2:
Partial
<
O
>
|
undefined
Returns
Partial
<
O
>
Type parameters
O
:
IOptions
Parameters
o1:
Partial
<
O
>
|
undefined
o2:
Partial
<
O
>
|
undefined
Returns
Partial
<
O
>
|
undefined
Object literals
default
Options
default
Options
:
object
jsdom
Config
jsdom
Config
:
object
Type declaration
Globals
Dom
Runner
change
Options
exec
get
Options
run
merge
Options
default
Options
Simple
Dom
Scraper
IDom
Runner
IDom
Runner
Args
IDom
Runner
Options
ISimple
Dom
Scraper
Options
ISimple
Dom
Scraper
Source
Data
Generated using
TypeDoc