mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 15:42:48 +00:00
Torrent download bugfix
This commit is contained in:
parent
353dadba0b
commit
66b8448186
1 changed files with 5 additions and 0 deletions
|
@ -83,6 +83,11 @@ namespace Jackett.Indexers
|
||||||
|
|
||||||
public Uri UncleanLink(Uri link)
|
public Uri UncleanLink(Uri link)
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrWhiteSpace(downloadUrlBase))
|
||||||
|
{
|
||||||
|
return link;
|
||||||
|
}
|
||||||
|
|
||||||
if (link.ToString().StartsWith(downloadUrlBase))
|
if (link.ToString().StartsWith(downloadUrlBase))
|
||||||
{
|
{
|
||||||
return link;
|
return link;
|
||||||
|
|
Loading…
Reference in a new issue