Fixed: Use Gazelle freelech tokens. (#465)

This commit is contained in:
Nyuels 2021-08-28 00:21:56 +02:00 committed by GitHub
parent 04e84f3a90
commit 3c9fbeabaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ namespace NzbDrone.Core.Indexers.Gazelle
var url = new HttpUri(_settings.BaseUrl)
.CombinePath("/torrents.php")
.AddQueryParam("action", "download")
.AddQueryParam("useToken", _settings.UseFreeleechToken ? "1" : "0")
.AddQueryParam("usetoken", _settings.UseFreeleechToken ? "1" : "0")
.AddQueryParam("id", torrentId);
return url.FullUri;