assorted c#: remove . from keywords. #12965 (#12968)

This commit is contained in:
ilike2burnthing 2022-02-18 19:44:58 +00:00 committed by GitHub
parent 7d51e4b240
commit 22efff93e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -105,7 +105,8 @@ namespace Jackett.Common.Indexers
foreach (var cat in catList)
qc.Add($"filter_cat[{cat}]", "1");
var searchUrl = BrowseUrl + "?" + qc.GetQueryString();
// remove . as not used in titles
var searchUrl = BrowseUrl + "?" + qc.GetQueryString().Replace(".", " ");
var results = await RequestWithCookiesAsync(searchUrl);
try
{

View File

@ -126,7 +126,8 @@ namespace Jackett.Common.Indexers
queryCollection.Add("search", query.GetQueryString());
}
var response = await RequestWithCookiesAndRetryAsync(SearchUrl + queryCollection.GetQueryString());
// remove . as not used in titles
var response = await RequestWithCookiesAndRetryAsync(SearchUrl + queryCollection.GetQueryString().Replace(".", " "));
try
{