mirror of https://github.com/Jackett/Jackett
parent
3ee564deed
commit
9bd3bb2e65
|
@ -19,14 +19,8 @@ namespace Jackett.Common.Indexers
|
|||
const string RSS_PATH = "feed/?type=magnet";
|
||||
|
||||
public override string[] AlternativeSiteLinks { get; protected set; } = {
|
||||
// At some point the beta site will probably replace the current one
|
||||
// At that point, these can probably be re-enabled.
|
||||
// "https://www.erai-raws.info/",
|
||||
// "https://erairaws.nocensor.space/"
|
||||
};
|
||||
|
||||
public override string[] LegacySiteLinks { get; protected set; } = {
|
||||
"https://www.erai-raws.info/",
|
||||
"https://beta.erai-raws.info/",
|
||||
"https://erairaws.nocensor.space/"
|
||||
};
|
||||
|
||||
|
@ -35,8 +29,7 @@ namespace Jackett.Common.Indexers
|
|||
: base(id: "erai-raws",
|
||||
name: "Erai-Raws",
|
||||
description: "Erai-Raws is a team release site for Anime subtitles.",
|
||||
//link: "https://www.erai-raws.info/",
|
||||
link: "https://beta.erai-raws.info/",
|
||||
link: "https://www.erai-raws.info/",
|
||||
caps: new TorznabCapabilities
|
||||
{
|
||||
TvSearchParams = new List<TvSearchParam>
|
||||
|
@ -111,6 +104,8 @@ namespace Jackett.Common.Indexers
|
|||
{
|
||||
// Retrieve RSS feed
|
||||
var result = await RequestWithCookiesAndRetryAsync(RssFeedUri);
|
||||
if (result.IsRedirect)
|
||||
await FollowIfRedirect(result);
|
||||
|
||||
// Parse as XML document
|
||||
var xmlDocument = new XmlDocument();
|
||||
|
|
Loading…
Reference in New Issue