orpheus: fix free leech token option breaking the tracker (#7179) resolves #7136

This commit is contained in:
Yuri Moens 2020-02-10 19:33:10 +01:00 committed by GitHub
parent 5326d6b33f
commit 2ed11bd562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -347,6 +347,7 @@ namespace Jackett.Common.Indexers.Abstract
{
var html = Encoding.GetString(content);
if (html.Contains("You do not have any freeleech tokens left.")
|| html.Contains("You do not have enough freeleech tokens left.")
|| html.Contains("This torrent is too large."))
{
// download again with usetoken=0