downloader

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Data []byte
	Page uint
}

File represents a downloaded file

func FetchChapter

func FetchChapter(site grabber.Site, chapter *grabber.Chapter) (files []*File, err error)

FetchChapter downloads all the pages of a chapter

func FetchFile

func FetchFile(params http.RequestParams, page uint) (file *File, err error)

FetchFile gets an online file returning a new *File with its contents

Jump to

Keyboard shortcuts

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