mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
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>
This commit is contained in:
@@ -269,6 +269,12 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||||||
var details = _settings.BaseUrl + qDetails.GetAttribute("href");
|
var details = _settings.BaseUrl + qDetails.GetAttribute("href");
|
||||||
var title = qDetails.QuerySelector("b").TextContent;
|
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");
|
var qLink = row.QuerySelector("td:nth-child(4) > a");
|
||||||
if (qLink == null)
|
if (qLink == null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user