Constructor Summary
Public Constructor | ||
public |
constructor(name: String, contentProvider: Object, debug: Boolean) Create an extratorrent object for show content. |
Member Summary
Private Members | ||
private |
The helper object for adding shows. |
|
private |
The util object with general functions. |
Method Summary
Public Methods | ||
public |
Get all the shows. |
|
public |
Returns a list of all the inserted torrents. |
Private Methods | ||
private |
_extractShow(torrent: Object, regex: Regex, dateBased: Boolean): Object Extract show information based on a regex. |
|
private |
_getAllShows(torrents: Array): Array Puts all the found shows from the torrents in an array. |
|
private |
_getShowData(torrent: Object): Object Get show info from a given torrent. |
Inherited Summary
From class BaseExtractor | ||
public |
The name of the torrent provider. |
|
private |
The content provider used by the extractor. |
|
private |
The util object with general functions. |
|
private |
_getAllTorrents(totalPages: Integer, provider: Object): Array Get all the torrents of a given provider. |
Public Constructors
public constructor(name: String, contentProvider: Object, debug: Boolean) source
Create an extratorrent object for show content.
Override:
BaseExtractor#constructorPrivate Members
Public Methods
public getShow(show: Object): Show source
Get all the shows.
Params:
Name | Type | Attribute | Description |
show | Object | The show information. |
public search(provider: Object): Show[] source
Returns a list of all the inserted torrents.
Params:
Name | Type | Attribute | Description |
provider | Object | The provider to query the content provider. |
Private Methods
private _extractShow(torrent: Object, regex: Regex, dateBased: Boolean): Object source
Extract show information based on a regex.