Documentation ¶
Index ¶
Constants ¶
View Source
const ( CatAll Category = 0 CatFilm = 1 CatEBooks = 6 CatSerieTv = 15 )
Available categories
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct{}
Client to the corsaro-nero sites
func (*Client) GetMagnet ¶
GetMagnet retrieves the magnet link from the CorsaroNero href page. In case of error returns the magnet link build with hash.
func (*Client) GetTorrentInfo ¶
func (c *Client) GetTorrentInfo(href string) (*TorrentInfo, error)
GetTorrentInfo is ...
type SearchResult ¶
type SearchResult struct { Cat string Name string HREF string Size string Date string Seeds string Leech string Download 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.
Click to show internal directories.
Click to hide internal directories.