Documentation ¶
Overview ¶
Package downloader provides primitives for downloading
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Download ¶
func Download()
Download starts the Download task. Download task consits of the following steps:
1. Get the torrent file
2. Download the actual file from torent
3. Add download info to db for future references
func ExtarctShow ¶
ExtarctShow returns name and se(season-episode) from title if title is in the proper format:
<name> <se> <info>
If title is not in proper format it will return empty strings
func ExtractSeasonEpisode ¶
ExtractSeasonEpisode returns season and episode from se(season-episode) if se is in proper format:
s<season>e<episode>
If se is not in proper format it will return 0, 0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.