mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
newpct: all now using maxi DL except 1 #11817
pctmix.com still using old DL for now
This commit is contained in:
@@ -181,9 +181,9 @@ namespace Jackett.Common.Indexers
|
||||
|
||||
public override async Task<byte[]> Download(Uri linkParam)
|
||||
{
|
||||
var downloadLink = new Regex("maxitorrent.com").Match(linkParam.AbsoluteUri).Success
|
||||
? linkParam.AbsoluteUri.Replace("/descargar/", "/descargar/torrent/")
|
||||
: linkParam.AbsoluteUri;
|
||||
var downloadLink = new Regex("pctmix.com").Match(linkParam.AbsoluteUri).Success
|
||||
? linkParam.AbsoluteUri
|
||||
: linkParam.AbsoluteUri.Replace("/descargar/", "/descargar/torrent/");
|
||||
|
||||
var results = await RequestWithCookiesAndRetryAsync(downloadLink);
|
||||
var uriLink = ExtractDownloadUri(results.ContentString, downloadLink);
|
||||
|
Reference in New Issue
Block a user