mirror of https://github.com/Jackett/Jackett
lostfilm: more alternate sites #11879
This commit is contained in:
parent
c1322b07ca
commit
91bfb1adaa
|
@ -23,12 +23,17 @@ namespace Jackett.Common.Indexers
|
|||
internal class LostFilm : BaseWebIndexer
|
||||
{
|
||||
public override string[] LegacySiteLinks { get; protected set; } = {
|
||||
"https://www.lostfilm.tv/",
|
||||
"https://www.lostfilm.uno/"
|
||||
"https://lostfilm.site" // redirects to *.tw
|
||||
};
|
||||
|
||||
public override string[] AlternativeSiteLinks { get; protected set; } = {
|
||||
"https://www.lostfilm.run/"
|
||||
"https://www.lostfilm.run/",
|
||||
"https://www.lostfilmtv.site/",
|
||||
"https://www.lostfilm.tv/",
|
||||
"https://www.lostfilm.win/",
|
||||
"https://lostfilm.tw/",
|
||||
"https://www.lostfilm.uno/"
|
||||
|
||||
};
|
||||
private static readonly Regex parsePlayEpisodeRegex = new Regex("PlayEpisode\\('(?<id>\\d{1,3})(?<season>\\d{3})(?<episode>\\d{3})'\\)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
private static readonly Regex parseReleaseDetailsRegex = new Regex("Видео:\\ (?<quality>.+).\\ Размер:\\ (?<size>.+).\\ Перевод", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
@ -125,7 +130,8 @@ namespace Jackett.Common.Indexers
|
|||
Language = "ru-ru";
|
||||
Type = "semi-private";
|
||||
|
||||
webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "25234600906DF82792DE9F4AA75A5AED2F226577");
|
||||
webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "25234600906DF82792DE9F4AA75A5AED2F226577"); // for *.run expired 07/Jun/21
|
||||
webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "34287FB53A58EC6AE590E7DD7E03C70C0263CADC"); // for *.tw expired 01/Apr/21
|
||||
|
||||
// TODO: review if there is only this category (movie search is enabled)
|
||||
AddCategoryMapping(1, TorznabCatType.TV);
|
||||
|
|
Loading…
Reference in New Issue