mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
Add anime cap to ipt and remove New tag from PTM
This commit is contained in:
parent
4ba1ea7000
commit
7dc8cd3c8a
2 changed files with 6 additions and 0 deletions
|
@ -32,6 +32,7 @@ namespace Jackett.Indexers
|
|||
manager: i,
|
||||
logger: l)
|
||||
{
|
||||
TorznabCaps.Categories.Add(new TorznabCategory { ID = "5070", Name = "TV/Anime" });
|
||||
SearchUrl = SiteLink + "t?26=&55=&78=&23=&24=&25=&66=&82=&65=&83=&79=&22=&5=&4=&60=&q=";
|
||||
webclient = wc;
|
||||
}
|
||||
|
|
|
@ -161,6 +161,11 @@ namespace Jackett.Indexers
|
|||
|
||||
var qLink = row.ChildElements.ElementAt(1).Cq().Find("a").First();
|
||||
release.Title = qLink.Text().Trim();
|
||||
if (qLink.Find("span").Count() == 1 && release.Title.StartsWith("NEW! |"))
|
||||
{
|
||||
release.Title = release.Title.Substring(6).Trim();
|
||||
}
|
||||
|
||||
release.Comments = new Uri(SiteLink + qLink.Attr("href"));
|
||||
release.Guid = release.Comments;
|
||||
|
||||
|
|
Loading…
Reference in a new issue