diff --git a/src/Jackett.Common/Indexers/Definitions/EraiRaws.cs b/src/Jackett.Common/Indexers/Definitions/EraiRaws.cs index ddd0b1ced..3a18a8a20 100644 --- a/src/Jackett.Common/Indexers/Definitions/EraiRaws.cs +++ b/src/Jackett.Common/Indexers/Definitions/EraiRaws.cs @@ -122,6 +122,11 @@ namespace Jackett.Common.Indexers.Definitions var result = await RequestWithCookiesAndRetryAsync(RssFeedUri); if (result.IsRedirect) result = await FollowIfRedirect(result); + if (result.ContentString.Contains("403 Forbidden")) + { + logger.Error("[EraiRaws]" + result.ContentString); + throw new Exception("The RSSkey may need to be replaced as EraiRaws returned 403 Forbidden."); + } // Parse as XML document var xmlDocument = new XmlDocument();