diff --git a/src/Jackett.Common/Indexers/Definitions/Wolfmax4K.cs b/src/Jackett.Common/Indexers/Definitions/Wolfmax4K.cs index 85a15a071..e80401576 100644 --- a/src/Jackett.Common/Indexers/Definitions/Wolfmax4K.cs +++ b/src/Jackett.Common/Indexers/Definitions/Wolfmax4K.cs @@ -159,6 +159,10 @@ namespace Jackett.Common.Indexers.Definitions public override async Task Download(Uri link) { var wmPage = await RequestWithCookiesAndRetryAsync(link.ToString()); + if (wmPage.ContentString.Contains("ERROR EL ARCHIVO NO EXISTE")) + { + throw new Exception("Error, the Download link at the requested path does not exist."); + } var wmDoc = new HtmlParser().ParseDocument(wmPage.ContentString); var enlacitoUrl = wmDoc.QuerySelector(".app-message a:not(.buttonPassword)")?.GetAttribute("href");