- Add etags to stream url

- Support for non-File files with range instead of readint to memory
- Log more errors for reealdebrid
This commit is contained in:
Mukhtar Akere
2025-05-22 22:23:49 +01:00
parent 7c1defc684
commit d10a6ddedd
2 changed files with 35 additions and 14 deletions

View File

@@ -502,7 +502,7 @@ func (r *RealDebrid) _getDownloadLink(file *types.File) (*types.DownloadLink, er
}
var data ErrorResponse
if err = json.Unmarshal(b, &data); err != nil {
return nil, err
return nil, fmt.Errorf("error unmarshalling %d || %s \n %s", resp.StatusCode, err, string(b))
}
switch data.ErrorCode {
case 19: