mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-15 13:07:27 +01: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:
parent
4347e1cf7a
commit
e49d03ab7b
1 changed files with 6 additions and 0 deletions
|
|
@ -269,6 +269,12 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
|||
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…
Reference in a new issue