mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 07:32:38 +00:00
IPTorrents: Add x265 Movie category mapping (#1162)
This commit is contained in:
parent
ac83848ad7
commit
ca77f07fef
1 changed files with 3 additions and 2 deletions
|
@ -63,6 +63,7 @@ namespace Jackett.Indexers
|
|||
AddCategoryMapping(68, TorznabCatType.Movies, "Movie/Packs");
|
||||
AddCategoryMapping(20, TorznabCatType.MoviesHD, "Movie/Web-DL");
|
||||
AddCategoryMapping(7, TorznabCatType.MoviesSD, "Movie/Xvid");
|
||||
AddCategoryMapping(100, TorznabCatType.Movies, "Movie/x265");
|
||||
|
||||
AddCategoryMapping(73, TorznabCatType.TV, "TV");
|
||||
AddCategoryMapping(26, TorznabCatType.TVDocumentary, "Documentaries");
|
||||
|
@ -146,7 +147,7 @@ namespace Jackett.Indexers
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public async Task<IndexerConfigurationStatus> ApplyConfiguration(JToken configJson)
|
||||
{
|
||||
|
@ -271,7 +272,7 @@ namespace Jackett.Indexers
|
|||
release.Category = MapTrackerCatToNewznab(catIcon.First().Attr("href").Substring(1));
|
||||
else // Torrents - Category column == Text (Code is not supported)
|
||||
release.Category = MapTrackerCatDescToNewznab(row.Cq().Find("td:eq(0)").Text());
|
||||
|
||||
|
||||
var filesElement = row.Cq().Find("a[href*=\"/files\"]"); // optional
|
||||
if (filesElement.Length == 1)
|
||||
release.Files = ParseUtil.CoerceLong(filesElement.Text());
|
||||
|
|
Loading…
Reference in a new issue