Home Manual Reference Source Test Repository
public class | source

KAT

Class for scraping anime shows from https://kat.cr/.

Constructor Summary

Public Constructor
public

constructor(name: String, debug: Boolean)

Create a kat object for anime content.

Member Summary

Public Members
public

The name of the torrent provider.

Private Members
private

The extractor object for getting anime data on torrents.

private

The util object with general functions.

Method Summary

Public Methods
public

search(provider: Object): Anime[]

Returns a list of all the inserted torrents.

Public Constructors

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

Create a kat object for anime 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 anime 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:

Anime[]

A list of scraped anime shows.