core: generate magnet link from infohash and vice versa. resolves #8590 (#10087)

* global list of public trackers
* infohash => magnet link (only in public trackers)
* magnet link => infohash
This commit is contained in:
Diego Heras
2020-11-02 17:43:13 +01:00
committed by GitHub
parent 9bd8f4d014
commit 14fdea164c
5 changed files with 141 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ namespace Jackett.Test.TestHelpers
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// public methods to test private methods
public void SetType(string type) => Type = type;
public IEnumerable<ReleaseInfo> _FilterResults(TorznabQuery query, IEnumerable<ReleaseInfo> results) =>
FilterResults(query, results);