* lower case for search term

* fix thanksyou call before download torrent file
This commit is contained in:
aurelien
2017-08-10 08:23:19 +02:00
committed by kaso17
parent 6f0a249503
commit f0140999bf
2 changed files with 11 additions and 0 deletions

View File

@@ -7,6 +7,16 @@
links:
- http://freedom-paradise.eu/
download:
before:
path: "list_thanks.php"
method: "get"
inputs:
id: "{{ .DownloadUri.Query.id }}"
to: "give"
torrent: "{{ .DownloadUri.Query.id }}"
caps:
categorymappings:
# ANIMES

View File

@@ -157,6 +157,7 @@ namespace Jackett.Indexers
{
var releases = new List<ReleaseInfo>();
var searchTerm = query.GetQueryString();
searchTerm = searchTerm.ToLower();
// Check cache first so we don't query the server (if search term used or not in dev mode)
if (!DevMode && !string.IsNullOrEmpty(searchTerm))