Home Manual Reference Source Test Repository
public class | source

KAT

Class for scraping movies from https://kat.cr/.

Constructor Summary

Public Constructor
public

constructor(name: String, debug: Boolean)

Create a kat object for movie content.

Member Summary

Public Members
public

The name of the torrent provider.

Private Members
private

The extractor object for getting show data on torrents.

private

The util object with general functions.

Method Summary

Public Methods
public

search(provider: Object): Movie[]

Returns a list of all the inserted torrents.

Public Constructors

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

Create a kat object for movie content.

Params:

NameTypeAttributeDescription
name String

The name of the content provider.

debug Boolean
  • nullable: true

Debug mode for extra output.

Public Members

public name: String source

The name of the torrent provider.

Private Members

private _extractor: Extractor source

The extractor object for getting show data on torrents.

private _util: Util source

The util object with general functions.

Public Methods

Returns a list of all the inserted torrents.

Params:

NameTypeAttributeDescription
provider Object

The provider to query https://kat.cr/.

Return:

Movie[]

A list of scraped movies.