nebulance: fix daily shows. resolves #6413 (#10980)

This commit is contained in:
Diego Heras 2021-01-31 13:27:11 +01:00 committed by GitHub
parent 2edaef04fa
commit 669322f209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -91,12 +91,16 @@ namespace Jackett.Common.Indexers
{
var releases = new List<ReleaseInfo>();
var searchTerm = query.GetQueryString();
if (!string.IsNullOrWhiteSpace(searchTerm)) // remove some characters
searchTerm = Regex.Replace(searchTerm, @"[-._]", " ");
var qc = new NameValueCollection
{
{"action", "basic"},
{"order_by", "time"},
{"order_way", "desc"},
{"searchtext", query.GetQueryString()}
{"searchtext", searchTerm}
};
var searchUrl = SearchUrl + "?" + qc.GetQueryString();