revolutiontt: drop "[REQ] " from start of titles.

This commit is contained in:
Garfield69 2021-10-11 14:11:43 +13:00
parent 477562ca55
commit 8e9a6f7d79
1 changed files with 5 additions and 1 deletions

View File

@ -158,7 +158,11 @@ namespace Jackett.Common.Indexers
var qDetails = row.QuerySelector(".br_right > a");
var details = new Uri(SiteLink + qDetails.GetAttribute("href"));
var title = qDetails.QuerySelector("b").TextContent;
// Remove auto-generated [REQ] tag from fulfilled requests
if (title.StartsWith("[REQ] "))
{
title = title.Substring(6);
}
var qLink = row.QuerySelector("td:nth-child(4) > a");
if (qLink == null)
continue; // support/donation banner