core: rename banner field to poster #10092 (#10134)

This commit is contained in:
Diego Heras
2020-11-08 00:43:33 +01:00
committed by GitHub
parent 94dfb9b8a7
commit c5dd37b836
212 changed files with 287 additions and 288 deletions

View File

@@ -118,7 +118,7 @@ namespace Jackett.Common.Indexers
if (!CheckTitleMatchWords(query.GetQueryString(), title))
continue; // skip if it doesn't contain all words
var banner = new Uri(row.QuerySelector("img[id=catalog]").GetAttribute("src"));
var poster = new Uri(row.QuerySelector("img[id=catalog]").GetAttribute("src"));
var qLink = row.QuerySelector("a");
var comments = new Uri(qLink.GetAttribute("href"));
@@ -138,7 +138,7 @@ namespace Jackett.Common.Indexers
Link = comments,
Guid = comments,
PublishDate = lastPublishDate,
BannerUrl = banner,
Poster = poster,
Description = description,
Category = new List<int> { TorznabCatType.BooksEBook.ID },
Size = 5242880, // 5 MB