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");
|
Encoding = Encoding.GetEncoding("UTF-8");
|
||||||
Language = "sv-sw";
|
Language = "sv-sw";
|
||||||
|
|
||||||
|
TorznabCaps.SupportsImdbSearch = true;
|
||||||
|
|
||||||
AddCategoryMapping(1, TorznabCatType.MoviesDVD, "DVD-R Swesub");
|
AddCategoryMapping(1, TorznabCatType.MoviesDVD, "DVD-R Swesub");
|
||||||
AddCategoryMapping(2, TorznabCatType.TV, "DVD-R TV");
|
AddCategoryMapping(2, TorznabCatType.TV, "DVD-R TV");
|
||||||
AddCategoryMapping(3, TorznabCatType.BooksEbook, "eBok");
|
AddCategoryMapping(3, TorznabCatType.BooksEbook, "eBok");
|
||||||
|
@ -95,6 +97,9 @@ namespace Jackett.Indexers
|
||||||
queryCollection.Add("limit", "100");
|
queryCollection.Add("limit", "100");
|
||||||
queryCollection.Add("order", "desc");
|
queryCollection.Add("order", "desc");
|
||||||
queryCollection.Add("page", "search");
|
queryCollection.Add("page", "search");
|
||||||
|
if (query.ImdbID != null)
|
||||||
|
queryCollection.Add("searchText", query.ImdbID);
|
||||||
|
else
|
||||||
queryCollection.Add("searchText", searchString);
|
queryCollection.Add("searchText", searchString);
|
||||||
queryCollection.Add("sort", "d");
|
queryCollection.Add("sort", "d");
|
||||||
queryCollection.Add("section", "all");
|
queryCollection.Add("section", "all");
|
||||||
|
|
Loading…
Reference in a new issue