Documentation ¶
Index ¶
- func IsErrMediaNotSupported(err error) bool
- func Subscene() types.Provider
- func TheMovieDB(token string) types.Scraper
- func TheTVDB(key string) types.Scraper
- type APIClient
- func (a *APIClient) Do(req *http.Request) (*http.Response, error)
- func (a *APIClient) Get(url string) (*http.Response, error)
- func (a *APIClient) Head(url string) (*http.Response, error)
- func (a *APIClient) Post(url string, contentType string, body io.Reader) (*http.Response, error)
- func (a *APIClient) PostForm(url string, data url.Values) (*http.Response, error)
- type ErrMediaNotSupported
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsErrMediaNotSupported ¶
IsErrMediaNotSupported return true if the error dictates taht the media type was not supported by the scraper
func TheMovieDB ¶
TheMovieDB is a scraper for themoviedb.org
Types ¶
type APIClient ¶
APIClient is a http client with rate limiting
func NewAPIClient ¶
NewAPIClient return a new APIClient
type ErrMediaNotSupported ¶
type ErrMediaNotSupported struct {
// contains filtered or unexported fields
}
ErrMediaNotSupported is an error for unsupported media
Click to show internal directories.
Click to hide internal directories.