diff --git a/pkg/http/client.go b/pkg/http/client.go index 5ee4b12..4c6b576 100644 --- a/pkg/http/client.go +++ b/pkg/http/client.go @@ -237,7 +237,7 @@ func (r *HTTPClient) Do(req *http.Request) (*http.Response, error) { } func (r *HTTPClient) replaceHostIfNeeded(req *http.Request) { - if !r.ensureIPv6Host && !r.cfg.ShouldForceIPv6() || !strings.HasSuffix(req.URL.Host, "real-debrid.com") { + if !r.ensureIPv6Host && !r.cfg.ShouldForceIPv6() || !strings.HasSuffix(req.URL.Host, "download.real-debrid.com") { return } // get subdomain of req.URL.Host