Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractSearchQuery ¶
ExtractSearchQuery cleans a torrent name to use as a search query.
Types ¶
type ParsedTorrent ¶
type ParsedTorrent struct {
InfoHash string
Name string
Quality string
Codec string
Year string
IsMagnet bool
}
ParsedTorrent contains information extracted from a magnet URI, hash, or torrent name.
func Parse ¶
func Parse(input string) ParsedTorrent
Parse parses a magnet URI, info hash, or torrent name.
Click to show internal directories.
Click to hide internal directories.