mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
@@ -53,7 +53,7 @@ namespace Jackett.Server.Controllers
|
||||
var fileExtension = ".torrent";
|
||||
|
||||
byte[] downloadBytes;
|
||||
if (remoteFile.Scheme == "magnet")
|
||||
if (remoteFile.OriginalString.StartsWith("magnet"))
|
||||
downloadBytes = Encoding.UTF8.GetBytes(remoteFile.OriginalString);
|
||||
else
|
||||
downloadBytes = await indexer.Download(remoteFile);
|
||||
|
Reference in New Issue
Block a user