Search
Preparing search index...
The search index is not available
source-scraper-html-runner
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
HtmlRunner
Class HtmlRunner<T>
Type parameters
T
Hierarchy
Runner
<
T
,
IHtmlRunnerOptions
,
IHtmlRunnerArgs
>
HtmlRunner
Implements
IConfigurable
<
IHtmlRunnerOptions
>
IRunner
<
T
,
IHtmlRunnerOptions
,
IHtmlRunnerArgs
>
IHtmlRunner
<
T
>
Index
Methods
change
Options
exec
get
Options
run
merge
Options
Object literals
default
Options
Methods
change
Options
change
Options
(
options
:
Partial
<
IHtmlRunnerOptions
>
)
:
IHtmlRunnerOptions
Parameters
options:
Partial
<
IHtmlRunnerOptions
>
Returns
IHtmlRunnerOptions
Protected
exec
exec
(
url
:
string
, scraper
:
function
, options
:
IHtmlRunnerOptions
)
:
Promise
<
T
>
Parameters
url:
string
scraper:
function
(
args
:
IHtmlRunnerArgs
)
:
Promise
<
T
>
Parameters
args:
IHtmlRunnerArgs
Returns
Promise
<
T
>
options:
IHtmlRunnerOptions
Returns
Promise
<
T
>
get
Options
get
Options
(
options
?:
Partial
<
IHtmlRunnerOptions
>
)
:
IHtmlRunnerOptions
Parameters
Optional
options:
Partial
<
IHtmlRunnerOptions
>
Returns
IHtmlRunnerOptions
run
run
(
url
:
string
, scraper
:
function
, options
?:
RO
)
:
Promise
<
T
>
Parameters
url:
string
scraper:
function
(
args
:
IHtmlRunnerArgs
)
:
Promise
<
T
>
Parameters
args:
IHtmlRunnerArgs
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
axios
Config
axios
Config
:
object
Type declaration
Globals
Html
Runner
change
Options
exec
get
Options
run
merge
Options
default
Options
IHtml
Runner
IHtml
Runner
Args
IHtml
Runner
Options
Generated using
TypeDoc