Remove annoying logs
This commit is contained in:
@@ -150,9 +150,6 @@ func (r *HTTPClient) Do(req *http.Request) (*http.Response, error) {
|
||||
resp.Body.Close()
|
||||
}
|
||||
r.replaceHostIfNeeded(req) // needed for ipv6
|
||||
if !strings.Contains(req.URL.Host, "api.real-debrid.com") {
|
||||
r.log.Debugf("downloading %s", req.URL)
|
||||
}
|
||||
resp, err = r.client.Do(req)
|
||||
if resp != nil && resp.StatusCode/100 >= 4 {
|
||||
body, _ := io.ReadAll(resp.Body)
|
||||
|
||||
Reference in New Issue
Block a user