1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-28 02:39:26 +00:00

torrentleech: improve search query. resolves #8230 (#8842)

This commit is contained in:
Diego Heras 2020-06-02 22:57:40 +02:00 committed by GitHub
parent 53108362d6
commit 21cc4f1cdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -190,7 +190,7 @@ namespace Jackett.Common.Indexers
if (query.IsImdbQuery) if (query.IsImdbQuery)
searchUrl += "imdbID/" + query.ImdbID + "/"; searchUrl += "imdbID/" + query.ImdbID + "/";
else if (!string.IsNullOrWhiteSpace(searchString)) else if (!string.IsNullOrWhiteSpace(searchString))
searchUrl += "query/" + WebUtility.UrlEncode(searchString) + "/"; searchUrl += "exact/1/query/" + WebUtility.UrlEncode(searchString) + "/";
var cats = MapTorznabCapsToTrackers(query); var cats = MapTorznabCapsToTrackers(query);
if (cats.Count > 0) if (cats.Count > 0)