Home Manual Reference Source Repository
public class | source

EZTV

Class for scraping shows from https://eztv.ag/.

Constructor Summary

Public Constructor
public

constructor(name: String, debug: Boolean)

Create an eztv object.

Member Summary

Public Members
public

The name of the torrent provider.

Private Members
private

_eztv: EztvAPI

A configured EZTV API.

private

The helper object for adding shows.

private

The util object with general functions.

Method Summary

Public Methods
public

Returns a list of all the inserted torrents.

Private Methods
private

_getShow(eztvShow: Object): Show

Get a complete show.

Public Constructors

public constructor(name: String, debug: Boolean) source

Create an eztv object.

Params:

NameTypeAttributeDescription
name String

The name of the torrent provider.

debug Boolean

Debug mode for extra output.

Public Members

public name: String source

The name of the torrent provider.

Private Members

private _eztv: EztvAPI source

A configured EZTV API.

See:

private _helper: Helper source

The helper object for adding shows.

private _util: Util source

The util object with general functions.

Public Methods

Returns a list of all the inserted torrents.

Return:

Array

A list of scraped shows.

Private Methods

private _getShow(eztvShow: Object): Show source

Get a complete show.

Params:

NameTypeAttributeDescription
eztvShow Object

show data from eztv.

Return:

Show

A complete show.