Skip to content

Commit

Permalink
immortalseed: genre tidyup
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Aug 7, 2022
1 parent da7e4bf commit a889a4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Jackett.Common/Indexers/ImmortalSeed.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuer
var qDesciption = row.QuerySelectorAll(".tooltip-content > div");
if (qDesciption.Any())
{
release.Description = qDesciption[1].TextContent.Trim().Replace(" | ", ",");
release.Description = qDesciption[1].TextContent.Replace("|", ",").Replace(" ", "").Trim();
if (release.Genres == null)
release.Genres = new List<string>();
release.Genres = release.Genres.Union(release.Description.Split(',')).ToList();
Expand Down Expand Up @@ -206,7 +206,6 @@ protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuer
else
release.DownloadVolumeFactor = 1;


if (row.QuerySelector("img[title^=\"x2 Torrent\"]") != null)
release.UploadVolumeFactor = 2;
else
Expand Down

0 comments on commit a889a4b

Please sign in to comment.