From 0d6830b0aac8803ab7fd854c6466e647f5026968 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Mon, 30 Jul 2018 15:06:05 +0200 Subject: [PATCH] accept imdbid+q --- src/Jackett/Controllers/ResultsController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Jackett/Controllers/ResultsController.cs b/src/Jackett/Controllers/ResultsController.cs index a5de9899d..36d2f1982 100644 --- a/src/Jackett/Controllers/ResultsController.cs +++ b/src/Jackett/Controllers/ResultsController.cs @@ -289,11 +289,13 @@ namespace Jackett.Controllers if (CurrentQuery.ImdbID != null) { + /* We should allow this (helpful in case of aggregate idnexers) if (!string.IsNullOrEmpty(CurrentQuery.SearchTerm)) { logger.Warn($"A search request from {Request.GetOwinContext().Request.RemoteIpAddress} was made containing q and imdbid."); return GetErrorXML(201, "Incorrect parameter: please specify either imdbid or q"); } + */ CurrentQuery.ImdbID = ParseUtil.GetFullImdbID(CurrentQuery.ImdbID); // normalize ImdbID if (CurrentQuery.ImdbID == null)