downloader

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadMovie

func DownloadMovie(movie *engine.Movie, outputDir string) error

DownloadMovie : Download the movie

func Extract

func Extract(url, source string) ([]downloader.Data, error)

Extract is the main function for extracting data before passing to Annie

Types

type Downloader

type Downloader struct {
	URL       string // URL Source
	Dir       string // Directory to store the file
	Name      string // Name of file
	Source    string // Name of the Source
	Size      int64  // Size of the file
	Completed bool   // Status of Download
}

Downloader : pausable downloader

func (*Downloader) DownloadFile

func (f *Downloader) DownloadFile() error

DownloadFile : Download Files using Annie Downloader

Jump to

Keyboard shortcuts

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