downloader

package
v0.0.0-...-123d3be Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2016 License: MIT Imports: 14 Imported by: 0

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

func ExtarctShow(title string) (string, string)

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

func ExtractSeasonEpisode(se string) (int, int)

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.

Jump to

Keyboard shortcuts

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