Files
tvqueue/jackett/client.go
Daniil Tsivinsky e293f68c4a add jackett client package instead of external library
also, fixed non-tv category searches resulting in 0 results
2026-02-19 16:53:03 +03:00

21 lines
260 B
Go

package jackett
type Config struct {
Host string
APIKey string
}
type Client struct {
conf Config
}
func NewClient(conf Config) *Client {
return &Client{
conf: conf,
}
}
func (c *Client) buildUrl(path string) string {
return c.conf.Host + path
}