mirror of
https://github.com/Jackett/Jackett
synced 2024-12-27 18:29:47 +00:00
TorrentBytes: Don't use truncated release names (#3168)
This commit is contained in:
parent
5721948434
commit
fb1e24799d
1 changed files with 8 additions and 1 deletions
|
@ -156,7 +156,14 @@ namespace Jackett.Common.Indexers
|
|||
var link = row.Cq().Find("td:eq(1) a:eq(1)").First();
|
||||
release.Guid = new Uri(SiteLink + link.Attr("href"));
|
||||
release.Comments = release.Guid;
|
||||
release.Title = link.Get(0).FirstChild.ToString();
|
||||
release.Title = link.Attr("title");
|
||||
|
||||
// There isn't a title attribute if the release name isn't truncated.
|
||||
if (string.IsNullOrWhiteSpace(release.Title))
|
||||
{
|
||||
release.Title = link.Get(0).FirstChild.ToString();
|
||||
}
|
||||
|
||||
release.Description = release.Title;
|
||||
|
||||
// If we search an get no results, we still get a table just with no info.
|
||||
|
|
Loading…
Reference in a new issue