mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 15:42:48 +00:00
Superbits: Enable direct IMDB search
This commit is contained in:
parent
de421f081f
commit
92c6ceb565
1 changed files with 6 additions and 1 deletions
|
@ -40,6 +40,8 @@ namespace Jackett.Indexers
|
|||
Encoding = Encoding.GetEncoding("UTF-8");
|
||||
Language = "sv-sw";
|
||||
|
||||
TorznabCaps.SupportsImdbSearch = true;
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.MoviesDVD, "DVD-R Swesub");
|
||||
AddCategoryMapping(2, TorznabCatType.TV, "DVD-R TV");
|
||||
AddCategoryMapping(3, TorznabCatType.BooksEbook, "eBok");
|
||||
|
@ -95,7 +97,10 @@ namespace Jackett.Indexers
|
|||
queryCollection.Add("limit", "100");
|
||||
queryCollection.Add("order", "desc");
|
||||
queryCollection.Add("page", "search");
|
||||
queryCollection.Add("searchText", searchString);
|
||||
if (query.ImdbID != null)
|
||||
queryCollection.Add("searchText", query.ImdbID);
|
||||
else
|
||||
queryCollection.Add("searchText", searchString);
|
||||
queryCollection.Add("sort", "d");
|
||||
queryCollection.Add("section", "all");
|
||||
queryCollection.Add("stereoscopic", "false");
|
||||
|
|
Loading…
Reference in a new issue