mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Feature/metaindexer torrent download improvement (#1517)
* Line endings... * Improve download handling of torrents in metas Until now, downloads were handled by metas, however they had to "guess" which indexer the result was originating from and resolve to that indexer. While this has been working without an issue, it really shouldn't be considered stable. Therefore indexers now link themselves to the results they provide. In order to keep my sanity and automate this as much as possible, I had to slightly modify the interface (sorry, everyone).
This commit is contained in:
@@ -103,7 +103,7 @@ namespace Jackett.Controllers
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(torznabQuery.SanitizedSearchTerm))
|
||||
{
|
||||
releases = await indexer.PerformQuery(torznabQuery);
|
||||
releases = await indexer.ResultsForQuery(torznabQuery);
|
||||
releases = indexer.CleanLinks(releases);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user