opensubtitles

package
v0.0.0-...-3533b89 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const URL = "https://api.opensubtitles.com"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(key string) *Client

func (Client) Request

func (c Client) Request(method, url string, body []byte, token string) ([]byte, error)

type Config

type Config struct {
	User      string `json:"user"`
	Pass      string `json:"pass"`
	Key       string `json:"key"`
	Languages string `json:"languages"`
}

type Finder

type Finder struct {
	// contains filtered or unexported fields
}

func NewFinder

func NewFinder(credentials Config, client *Client) *Finder

func (*Finder) Close

func (f *Finder) Close() error

func (*Finder) Find

func (f *Finder) Find(path string) (bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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