Search
Preparing search index...
The search index is not available
streamango-scraper
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
StreamangoScraper
Class StreamangoScraper<RO, RA, R, SO>
Type parameters
RO
:
IRunnerOptions
RA
:
IRunnerArgs
<
RO
>
R
:
Runner
<
T
,
RO
,
RA
>
SO
:
IRunnerScraperOptions
<
RO
>
Hierarchy
SourceRunnerScraper
<
IStreamangoScraperSourceData
>
StreamangoScraper
Implements
IConfigurable
<
SO
>
IScraper
<
IStreamangoScraperSourceData
,
SO
>
IRunnerScraper
<
IStreamangoScraperSourceData
,
RO
,
RA
,
R
,
SO
>
ISourceScraper
<
IStreamangoScraperSourceData
,
SO
>
Index
Properties
default
Options
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
Properties
default
Options
default
Options
:
IStreamangoScraperOptions
domains
domains
:
string
[]
= ['streamango.com']
name
name
:
string
= "streamango"
runner
runner
:
PuppeteerRunner
<
IStreamangoScraperSourceData
>
= new PuppeteerRunner<IStreamangoScraperSourceData>()
url
Pattern
url
Pattern
:
RegExp
= /(?:(?:https?:)?\/\/)?(?:[^.]+\.)?streamango\.com\/embed\/(\w+)/i
Methods
change
Options
change
Options
(
options
:
Partial
<
SO
>
)
:
SO
Parameters
options:
Partial
<
SO
>
Returns
SO
Protected
exec
exec
(
url
:
string
, options
:
SO
)
:
Promise
<
IStreamangoScraperSourceData
>
Parameters
url:
string
options:
SO
Returns
Promise
<
IStreamangoScraperSourceData
>
Protected
exec
With
Args
exec
With
Args
(
__namedParameters
:
object
)
:
Promise
<
IStreamangoScraperSourceData
>
Parameters
__namedParameters:
object
page
:
Page
Returns
Promise
<
IStreamangoScraperSourceData
>
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
<
IStreamangoScraperSourceData
>
>
Parameters
url:
string
dataSupplier:
function
(
)
:
Promise
<
IStreamangoScraperSourceData
>
Returns
Promise
<
IStreamangoScraperSourceData
>
Returns
Promise
<
Scrap
<
IStreamangoScraperSourceData
>
>
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
<
IStreamangoScraperSourceData
>
>
Parameters
url:
string
Optional
options:
SO
Returns
Promise
<
Scrap
<
IStreamangoScraperSourceData
>
>
scrap
From
Args
scrap
From
Args
(
args
:
RA
, options
?:
SO
)
:
Promise
<
Scrap
<
IStreamangoScraperSourceData
>
>
Parameters
args:
RA
Optional
options:
SO
Returns
Promise
<
Scrap
<
IStreamangoScraperSourceData
>
>
Protected
Optional
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
Globals
Streamango
Scraper
default
Options
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
Streamango
Source
IStreamango
Source
IStreamango
Scraper
Options
IStreamango
Scraper
Source
Data
Generated using
TypeDoc