Skip to content

Commit

Permalink
newpct: all domains on maxi dl now. #11817
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Jun 8, 2021
1 parent 111d280 commit 2bd485b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Jackett.Common/Indexers/NewPCT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ public override async Task<IndexerConfigurationStatus> ApplyConfiguration(JToken

public override async Task<byte[]> Download(Uri linkParam)
{
var downloadLink = new Regex("pctmix.com").Match(linkParam.AbsoluteUri).Success
? linkParam.AbsoluteUri
: linkParam.AbsoluteUri.Replace("/descargar/", "/descargar/torrent/");
var downloadLink = linkParam.AbsoluteUri.Replace("/descargar/", "/descargar/torrent/");

var results = await RequestWithCookiesAndRetryAsync(downloadLink);
var uriLink = ExtractDownloadUri(results.ContentString, downloadLink);
Expand Down

0 comments on commit 2bd485b

Please sign in to comment.