pkg

package
v0.0.0-...-dbbbf3e Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChapterPages

func GetChapterPages(chapter Chapter) ([]string, error)

func SaveChapter

func SaveChapter(chapter Chapter, directory string, force bool) error

SaveChapter downloads all the manga images for the given chapter into the given directory.

Types

type Chapter

type Chapter struct {
	Id   string `json:"id"`
	Name string `json:"name"`
	Slug string `json:"slug"`
}

Identification information for a chapter of a mange series on TCBScans.

func GetChapters

func GetChapters(series Series) ([]Chapter, error)

GetChapters returns a list of available chapters on TCBScans for a series.

type Series

type Series struct {
	Id   string `json:"id"`
	Name string `json:"name"`
	Slug string `json:"slug"`
}

A manga series identification information on TCBScans.

func GetSeries

func GetSeries() ([]Series, error)

GetSeries returns a slice of all the series found on the TCBScans website.

Jump to

Keyboard shortcuts

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