mirror of
https://github.com/Jackett/Jackett.git
synced 2025-10-03 00:47:21 +02:00
XSpeeds: test RSS and search
This commit is contained in:
@@ -173,7 +173,7 @@ namespace Jackett.Indexers
|
||||
var prevCook = CookieHeader + "";
|
||||
|
||||
// If we have no query use the RSS Page as their server is slow enough at times!
|
||||
if (string.IsNullOrWhiteSpace(searchString))
|
||||
if (query.IsTest || string.IsNullOrWhiteSpace(searchString))
|
||||
{
|
||||
|
||||
var rssPage = await RequestStringWithCookiesAndRetry(string.Format(RSSUrl, configData.RSSKey.Value));
|
||||
@@ -228,9 +228,9 @@ namespace Jackett.Indexers
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
if (query.IsTest || !string.IsNullOrWhiteSpace(searchString))
|
||||
{
|
||||
if (searchString.Length < 3)
|
||||
if (searchString.Length < 3 && !query.IsTest)
|
||||
{
|
||||
OnParseError("", new Exception("Minimum search length is 3"));
|
||||
return releases;
|
||||
|
Reference in New Issue
Block a user