mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Fix AniDub search (#10972)
Co-authored-by: Diego Heras <ngosang@hotmail.es> Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:

committed by
GitHub

parent
41584628e2
commit
2edaef04fa
@@ -536,7 +536,7 @@ namespace Jackett.Common.Indexers
|
||||
.FirstOrDefault();
|
||||
}
|
||||
|
||||
private async Task<List<ReleaseInfo>> PerformSearch(TorznabQuery query)
|
||||
private async Task<IEnumerable<ReleaseInfo>> PerformSearch(TorznabQuery query)
|
||||
{
|
||||
const string searchLinkSelector = "#dle-content > .searchitem > h3 > a";
|
||||
|
||||
@@ -558,8 +558,7 @@ namespace Jackett.Common.Indexers
|
||||
{
|
||||
OnParseError(response.ContentString, ex);
|
||||
}
|
||||
|
||||
return releases;
|
||||
return releases.Where(release => query.MatchQueryStringAND(release.Title));
|
||||
}
|
||||
|
||||
private List<KeyValuePair<string, string>> PreparePostData(TorznabQuery query)
|
||||
@@ -572,7 +571,7 @@ namespace Jackett.Common.Indexers
|
||||
{ "full_search", "1" },
|
||||
{ "result_from", "1" },
|
||||
{ "story", NormalizeSearchQuery(query)},
|
||||
{ "titleonly", "3" },
|
||||
{ "titleonly", "0" },
|
||||
{ "searchuser", "" },
|
||||
{ "replyless", "0" },
|
||||
{ "replylimit", "0" },
|
||||
|
Reference in New Issue
Block a user