Search
Preparing search index...
The search index is not available
ninexbuddy-scraper
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
NinexbuddyScraper
Class NinexbuddyScraper<SO>
Type parameters
SO
:
IRunnerScraperOptions
<
RO
>
Hierarchy
RunnerScraper
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
,
IPuppeteerRunnerOptions
,
IPuppeteerRunnerArgs
,
PuppeteerRunner
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
>
NinexbuddyScraper
Implements
IConfigurable
<
SO
>
IScraper
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
,
SO
>
IRunnerScraper
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
,
IPuppeteerRunnerOptions
,
IPuppeteerRunnerArgs
,
PuppeteerRunner
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
,
SO
>
Index
Properties
domains
name
runner
url
Pattern
Methods
change
Options
exec
exec
With
Args
get
Options
get
Scrap
get
Url
Data
is
Applicable
is
Applicable
Domain
scrap
scrap
From
Args
transform
Url
merge
Options
Object literals
default
Options
Properties
domains
domains
:
string
[]
= []
name
name
:
string
= "ninexbuddy"
runner
runner
:
PuppeteerRunner
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
= new PuppeteerRunner<INinexbuddyScraperSourceData | INinexbuddyScraperHosterData>()
url
Pattern
url
Pattern
:
RegExp
= /.*/i
Methods
change
Options
change
Options
(
options
:
Partial
<
SO
>
)
:
SO
Parameters
options:
Partial
<
SO
>
Returns
SO
Protected
exec
exec
(
url
:
string
, options
:
SO
)
:
Promise
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
Parameters
url:
string
options:
SO
Returns
Promise
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
Protected
exec
With
Args
exec
With
Args
(
__namedParameters
:
object
)
:
Promise
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
Parameters
__namedParameters:
object
ninexbuddy
Url
:
string
page
:
Page
Returns
Promise
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
get
Options
get
Options
(
options
?:
Partial
<
SO
>
)
:
SO
Parameters
Optional
options:
Partial
<
SO
>
Returns
SO
Protected
get
Scrap
get
Scrap
(
url
:
string
, dataSupplier
:
function
)
:
Promise
<
Scrap
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
>
Parameters
url:
string
dataSupplier:
function
(
)
:
Promise
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
Returns
Promise
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
Returns
Promise
<
Scrap
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
>
get
Url
Data
get
Url
Data
(
url
:
string
, throwIfNull
:
true
)
:
RegExpExecArray
get
Url
Data
(
url
:
string
, throwIfNull
:
false
)
:
RegExpExecArray
|
null
Parameters
url:
string
throwIfNull:
true
Returns
RegExpExecArray
Parameters
url:
string
throwIfNull:
false
Returns
RegExpExecArray
|
null
is
Applicable
is
Applicable
(
url
:
string
)
:
boolean
Parameters
url:
string
Returns
boolean
is
Applicable
Domain
is
Applicable
Domain
(
domain
:
string
)
:
boolean
Parameters
domain:
string
Returns
boolean
scrap
scrap
(
url
:
string
, options
?:
SO
)
:
Promise
<
Scrap
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
>
Parameters
url:
string
Optional
options:
SO
Returns
Promise
<
Scrap
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
>
scrap
From
Args
scrap
From
Args
(
args
:
IPuppeteerRunnerArgs
, options
?:
SO
)
:
Promise
<
Scrap
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
>
Parameters
args:
IPuppeteerRunnerArgs
Optional
options:
SO
Returns
Promise
<
Scrap
<
INinexbuddyScraperSourceData
|
INinexbuddyScraperHosterData
>
>
Protected
transform
Url
transform
Url
(
url
:
string
)
:
string
Parameters
url:
string
Returns
string
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
runner
Options
runner
Options
:
object
navigation
Options
navigation
Options
:
object
wait
Until
wait
Until
:
"networkidle0"
= "networkidle0"
Globals
Ninexbuddy
Scraper
domains
name
runner
url
Pattern
change
Options
exec
exec
With
Args
get
Options
get
Scrap
get
Url
Data
is
Applicable
is
Applicable
Domain
scrap
scrap
From
Args
transform
Url
merge
Options
default
Options
Ninexbuddy
Source
INinexbuddy
Scraper
Data
INinexbuddy
Scraper
Hoster
Data
INinexbuddy
Scraper
Source
Data
INinexbuddy
Source
INinexbuddy
Source
Quality
INinexbuddy
Scraper
Options
is
Defined
parse
Hoster
Name
parse
Source
Quality
Generated using
TypeDoc