metadata

package
v0.0.0-...-4e3d77a Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const BASE_SEARCH_URL = "https://www.mangaupdates.com/series.html"
View Source
const BASE_SERIES_URL = "https://www.mangaupdates.com/series/"
View Source
const IMPORTED_ARCHIVES_DIR = "__imported_archives__"
View Source
const MAX_SERIES_RESULTS = 10
View Source
const SOURCE_MANGA_UPDATES = "MangaUpdates"

Variables

This section is empty.

Functions

func ProcessCrawlRequest

func ProcessCrawlRequest(request *model.MetadataCrawlRequest) error

func ProcessCrawlRequests

func ProcessCrawlRequests() error

Types

type ImportedArchive

type ImportedArchive struct {
	Archive *model.Archive
	New     bool
}

func ImportDir

func ImportDir(rootPath string) ([]*ImportedArchive, error)

Recursively import archive from a directory. Archives will be added as they are collected. Any errors that occur at the archive level will be joined in the return error and a nil will be placed in the retrned slice.

func ImportFile

func ImportFile(path string) (*ImportedArchive, error)

May return (nil, nil) if the path is not an archive.

func ImportPath

func ImportPath(path string) ([]*ImportedArchive, error)

Jump to

Keyboard shortcuts

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