mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
parent
7d87b3287b
commit
8744fd3fa1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue