Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedLanguages = []string{"en", "ja", "cn", "tw"}
SupportedLanguages lists the language codes supported by JavLibrary. en = English, ja = Japanese, cn = Chinese (Simplified), tw = Chinese (Traditional)
Functions ¶
This section is empty.
Types ¶
type Scraper ¶
type Scraper struct {
// contains filtered or unexported fields
}
Scraper implements the models.Scraper interface for JavLibrary
func New ¶
func New(cfg *config.JavLibraryConfig, proxyConfig *config.ProxyConfig, globalUserAgent ...string) (*Scraper, error)
New creates a new JavLibrary scraper. globalUserAgent is optional for backward compatibility with existing callers.
func (*Scraper) ResolveDownloadProxyForHost ¶
func (s *Scraper) ResolveDownloadProxyForHost(host string) (*config.ProxyConfig, *config.ProxyConfig, bool)
ResolveDownloadProxyForHost declares JavLibrary-owned media hosts for downloader proxy routing.
Click to show internal directories.
Click to hide internal directories.