Documentation
¶
Index ¶
- type Scraper
- func (s *Scraper) GetURL(id string) (string, error)
- func (s *Scraper) IsEnabled() bool
- func (s *Scraper) Name() string
- func (s *Scraper) ResolveDownloadProxyForHost(host string) (*config.ProxyConfig, *config.ProxyConfig, bool)
- func (s *Scraper) ResolveSearchQuery(input string) (string, bool)
- func (s *Scraper) Search(id string) (*models.ScraperResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scraper ¶
type Scraper struct {
// contains filtered or unexported fields
}
Scraper implements the LibreDMM scraper.
func (*Scraper) ResolveDownloadProxyForHost ¶
func (s *Scraper) ResolveDownloadProxyForHost(host string) (*config.ProxyConfig, *config.ProxyConfig, bool)
ResolveDownloadProxyForHost declares LibreDMM-owned media hosts for downloader proxy routing.
func (*Scraper) ResolveSearchQuery ¶
ResolveSearchQuery prioritizes this scraper when the input is a LibreDMM URL.
Click to show internal directories.
Click to hide internal directories.