Home Manual Reference Source Test Repository
public class | source

HorribleSubs

Class for scraping anime from https://horriblesubs.info/.

Constructor Summary

Public Constructor
public

constructor(name: String, debug: Boolean)

Create an horriblesubs object for anime 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

_horriblesubs: HorribleSubsAPI

A configured HorribleSubs API.

private

The util object with general functions.

Method Summary

Public Methods
public

search(): Anime[]

Returns a list of all the inserted torrents.

Public Constructors

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

Create an horriblesubs 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 show data on torrents.

private _horriblesubs: HorribleSubsAPI source

A configured HorribleSubs API.

See:

private _util: Util source

The util object with general functions.

Public Methods

Returns a list of all the inserted torrents.

Return:

Anime[]

A list of scraped animes.