Search
Preparing search index...
The search index is not available
source-scraper-jwplayer-runner
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
SimpleJWPlayerScraper
Class SimpleJWPlayerScraper<SO>
Type parameters
SO
:
IRunnerScraperOptions
<
RO
>
Hierarchy
SourceRunnerScraper
<
ISimpleJWPlayerScraperSourceData
,
IJWPlayerRunnerOptions
,
IJWPlayerRunnerArgs
,
JWPlayerRunner
<
ISimpleJWPlayerScraperSourceData
>
>
SimpleJWPlayerScraper
Implements
IConfigurable
<
SO
>
IScraper
<
ISimpleJWPlayerScraperSourceData
,
SO
>
IRunnerScraper
<
ISimpleJWPlayerScraperSourceData
,
IJWPlayerRunnerOptions
,
IJWPlayerRunnerArgs
,
JWPlayerRunner
<
ISimpleJWPlayerScraperSourceData
>
,
SO
>
ISourceScraper
<
ISimpleJWPlayerScraperSourceData
,
SO
>
ISourceScraper
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
:
ISimpleJWPlayerScraperOptions
domains
domains
:
string
[]
= []
name
name
:
string
= "jwplayer"
runner
runner
:
JWPlayerRunner
<
ISimpleJWPlayerScraperSourceData
>
= new JWPlayerRunner<ISimpleJWPlayerScraperSourceData>()
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
<
ISimpleJWPlayerScraperSourceData
>
Parameters
url:
string
options:
SO
Returns
Promise
<
ISimpleJWPlayerScraperSourceData
>
Protected
exec
With
Args
exec
With
Args
(
__namedParameters
:
object
)
:
Promise
<
ISimpleJWPlayerScraperSourceData
>
Parameters
__namedParameters:
object
poster
:
string
sources
:
IJWPlayerConfigSource
[]
Returns
Promise
<
ISimpleJWPlayerScraperSourceData
>
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
<
ISimpleJWPlayerScraperSourceData
>
>
Parameters
url:
string
dataSupplier:
function
(
)
:
Promise
<
ISimpleJWPlayerScraperSourceData
>
Returns
Promise
<
ISimpleJWPlayerScraperSourceData
>
Returns
Promise
<
Scrap
<
ISimpleJWPlayerScraperSourceData
>
>
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
<
ISimpleJWPlayerScraperSourceData
>
>
Parameters
url:
string
Optional
options:
SO
Returns
Promise
<
Scrap
<
ISimpleJWPlayerScraperSourceData
>
>
scrap
From
Args
scrap
From
Args
(
args
:
IJWPlayerRunnerArgs
, options
?:
SO
)
:
Promise
<
Scrap
<
ISimpleJWPlayerScraperSourceData
>
>
Parameters
args:
IJWPlayerRunnerArgs
Optional
options:
SO
Returns
Promise
<
Scrap
<
ISimpleJWPlayerScraperSourceData
>
>
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
JWPlayer
Runner
JWPlayer
Source
SimpleJWPlayer
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
IJWPlayer
Captions
IJWPlayer
Captions
List
IJWPlayer
Config
IJWPlayer
Config
Source
IJWPlayer
Dock
IJWPlayer
Error
Event
IJWPlayer
Playlist
IJWPlayer
Provider
IJWPlayer
Runner
IJWPlayer
Runner
Args
IJWPlayer
Sharing
IJWPlayer
Source
IJWPlayer
Track
IJWPlayer
Runner
Options
ISimpleJWPlayer
Scraper
Options
ISimpleJWPlayer
Scraper
Source
Data
Generated using
TypeDoc