providers

package
v0.0.0-...-e664854 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

package providers contains metadata gatherers

Index

Constants

View Source
const ImdbEP = "https://v2.sg.media-imdb.com"
View Source
const McHost = "https://www.metacritic.com"
View Source
const OmdbEP = "https://www.omdbapi.com/"
View Source
const RtHost = "https://www.rottentomatoes.com"
View Source
const TmdbEP = "https://api.themoviedb.org/3"

Variables

This section is empty.

Functions

This section is empty.

Types

type GuessIt

type GuessIt struct{}

GuessIt filename parser

func (*GuessIt) Parse

func (*GuessIt) Parse(filename string) (title string, year int, err error)

type Imdb

type Imdb struct{}

IMDb hidden API interface

func (*Imdb) Populate

identify by title and year when imdbid not known

type Metacritic

type Metacritic struct{}

metacritic scraper

func (*Metacritic) Populate

get metascore using title and year

type Omdb

type Omdb struct{}

OMDb API interface

func (*Omdb) Populate

func (o *Omdb) Populate(m elements.FilmMetadata) (*elements.FilmMetadata, error)

populate metadata from imdbid or title/year

type Results

type Results []elements.FilmInfo

type RottenTomatoes

type RottenTomatoes struct{}

rotten tomatoes scraper

func (*RottenTomatoes) Populate

get rotten tomatoes score using title and year

type Tmdb

type Tmdb struct{}

TMDB API interface

func (*Tmdb) Populate

func (t *Tmdb) Populate(m elements.FilmMetadata) (*elements.FilmMetadata, error)

populate metadata from imdbid or title/year

Jump to

Keyboard shortcuts

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