Fixed: (RevolutionTT) Remove [REQ] prefix from torrent title (#545)

[REQ] is an automatically generated prefix added to fulfilled requests, and very often breaks parsing for title matching

Co-authored-by: Shane Moore <vales@users.noreply.github.com>
pull/547/head
Shane M 3 years ago committed by GitHub
parent 4347e1cf7a
commit e49d03ab7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -269,6 +269,12 @@ namespace NzbDrone.Core.Indexers.Definitions
var details = _settings.BaseUrl + 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)
{

Loading…
Cancel
Save