mirror of https://github.com/Jackett/Jackett
Better search for Arche Torrent (#1405)
* Add ArcheTorrent * ArcheTorrent: Enhanced Search
This commit is contained in:
parent
12b60b5a9e
commit
a4d5c98e12
|
@ -124,11 +124,19 @@ namespace Jackett.Indexers
|
|||
var releases = new List<ReleaseInfo>();
|
||||
var searchString = query.GetQueryString();
|
||||
|
||||
var arraySearchString = searchString.Split(' ');
|
||||
searchString = "";
|
||||
foreach (var subSearchString in arraySearchString)
|
||||
{
|
||||
searchString += "+" + subSearchString + " ";
|
||||
}
|
||||
searchString = searchString.Trim ();
|
||||
|
||||
var queryCollection = new Dictionary<string, string>();
|
||||
queryCollection.Add ("search", searchString);
|
||||
queryCollection.Add ("cat", "0");
|
||||
queryCollection.Add("incldead", "0");
|
||||
queryCollection.Add("freeleech", "0");
|
||||
queryCollection.Add ("incldead", "0");
|
||||
queryCollection.Add ("freeleech", "0");
|
||||
queryCollection.Add ("lang", "0");
|
||||
|
||||
var searchUrl = BrowseUrl + "?" + queryCollection.GetQueryString ();
|
||||
|
|
Loading…
Reference in New Issue