tntvillage

package
v0.0.0-...-24035bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CatAll              Category = 0
	CatFilmTvEProgrammi          = 1
	CatMusica                    = 2
	CatEBooks                    = 3
	CatFilm                      = 4
	CatLinux                     = 6
	CatAnime                     = 7
	CatCartoni                   = 8
	CatMacintosh                 = 9
	CatWindowsSoftware           = 10
	CatPcGame                    = 11
	CatPlaystation               = 12
	CatStudentReleases           = 13
	CatDocumentari               = 14
	CatVideoMusicali             = 21
	CatSport                     = 22
	CatTeatro                    = 23
	CatWrestling                 = 24
	CatVarie                     = 25
	CatXBox                      = 26
	CatImmaginiESfondi           = 27
	CatAltriGiochi               = 28
	CatSerieTv                   = 29
	CatFumetteria                = 30
	CatTrash                     = 31
	CatNintendo                  = 32
	CatABook                     = 34
	CatPodcast                   = 35
	CatEdicola                   = 36
	CatMobile                    = 37
)

Available categories

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category int

Category is the category

type Client

type Client struct{}

Client to the corsaro-nero sites

func (*Client) Search

func (c *Client) Search(search string, cat Category) (SearchResults, error)

Search the specified search string anf category

type SearchResult

type SearchResult struct {
	Torrent string
	Magnet  string
	Cat     string
	Leech   string
	Seeds   string
	C       string
	Titolo  string
}

A SearchResult contains the informations of a search result.

func (*SearchResult) String

func (r *SearchResult) String() string

type SearchResults

type SearchResults []SearchResult

SearchResults is an ordered list of search results.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL