1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-27 02:09:24 +00:00

Get 'current year' results for keywordless query in torrent-paradise-ml (#11039)

This commit is contained in:
XYZJR 2021-02-08 19:14:29 +01:00 committed by GitHub
parent 351c399bfd
commit d24fe95467
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,11 +94,7 @@ namespace Jackett.Common.Indexers
var searchTerm = query.GetQueryString();
if (string.IsNullOrWhiteSpace(searchTerm))
{
if (query.IsTest)
{
searchTerm = DateTime.Now.Year.ToString();
}
else return null;
searchTerm = DateTime.Now.Year.ToString();
}
var qc = new NameValueCollection