mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-23 22:45:06 -04:00
New: (Gazelle/OPS/RED) Prevent downloads without FL tokens
This commit is contained in:
@@ -143,7 +143,7 @@ public class AlphaRatioParser : GazelleParser
|
||||
.AddQueryParam("action", "download")
|
||||
.AddQueryParam("id", torrentId);
|
||||
|
||||
if (Settings.UseFreeleechToken && canUseToken)
|
||||
if (Settings.UseFreeleechToken is (int)GazelleFreeleechTokenAction.Preferred or (int)GazelleFreeleechTokenAction.Required && canUseToken)
|
||||
{
|
||||
url = url.AddQueryParam("usetoken", "1");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user