Search
Preparing search index...
The search index is not available
streamcloud-scraper
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
StreamcloudScraper
Class StreamcloudScraper<SO>
Type parameters
SO
:
IScraperOptions
Hierarchy
SourceScraper
<
IStreamcloudScraperSourceData
>
StreamcloudScraper
Implements
IConfigurable
<
SO
>
IScraper
<
IStreamcloudScraperSourceData
,
SO
>
ISourceScraper
<
IStreamcloudScraperSourceData
,
SO
>
Index
Properties
domains
name
runner
url
Pattern
Methods
change
Options
exec
get
Options
get
Scrap
get
Url
Data
is
Applicable
is
Applicable
Domain
scrap
merge
Options
Object literals
default
Options
Properties
domains
domains
:
string
[]
= ['streamcloud.eu']
name
name
:
string
= "streamcloud"
runner
runner
:
HtmlRunner
<
string
>
= new HtmlRunner<string>()
url
Pattern
url
Pattern
:
RegExp
= /(?:(?:https?:)?\/\/)?(?:[^.]+\.)?streamcloud\.eu\/(\w+)\/(.+)/i
Methods
change
Options
change
Options
(
options
:
Partial
<
SO
>
)
:
SO
Parameters
options:
Partial
<
SO
>
Returns
SO
Protected
exec
exec
(
url
:
string
, options
:
IStreamcloudScraperOptions
)
:
Promise
<
IStreamcloudScraperSourceData
>
Parameters
url:
string
options:
IStreamcloudScraperOptions
Returns
Promise
<
IStreamcloudScraperSourceData
>
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
<
IStreamcloudScraperSourceData
>
>
Parameters
url:
string
dataSupplier:
function
(
)
:
Promise
<
IStreamcloudScraperSourceData
>
Returns
Promise
<
IStreamcloudScraperSourceData
>
Returns
Promise
<
Scrap
<
IStreamcloudScraperSourceData
>
>
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
<
IStreamcloudScraperSourceData
>
>
Parameters
url:
string
Optional
options:
SO
Returns
Promise
<
Scrap
<
IStreamcloudScraperSourceData
>
>
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
axios
Config
axios
Config
:
object
method
method
:
string
= "post"
headers
headers
:
object
Cache-
Control
Cache-
Control
:
string
= "no-cache"
Connection
Connection
:
string
= "Keep-Alive"
Content-
Type
Content-
Type
:
string
= "application/x-www-form-urlencoded"
Globals
Streamcloud
Scraper
domains
name
runner
url
Pattern
change
Options
exec
get
Options
get
Scrap
get
Url
Data
is
Applicable
is
Applicable
Domain
scrap
merge
Options
default
Options
IJWPlayer
Setup
Data
IStreamcloud
Scraper
Source
Data
IStreamcloud
Scraper
Options
Generated using
TypeDoc