mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
cinecalidad: improve titles (#9709)
This commit is contained in:

committed by
GitHub

parent
805f40ae4d
commit
2d7c93d243
@@ -49,8 +49,8 @@ namespace Jackett.Common.Indexers
|
|||||||
|
|
||||||
var language = new SelectItem(new Dictionary<string, string>
|
var language = new SelectItem(new Dictionary<string, string>
|
||||||
{
|
{
|
||||||
{"castellano", "Spanish Castellano"},
|
{"castellano", "Castilian Spanish"},
|
||||||
{"latino", "Spanish Latino"}
|
{"latino", "Latin American Spanish"}
|
||||||
})
|
})
|
||||||
{
|
{
|
||||||
Name = "Select language",
|
Name = "Select language",
|
||||||
@@ -104,7 +104,7 @@ namespace Jackett.Common.Indexers
|
|||||||
var pageReleases = ParseReleases(response, query);
|
var pageReleases = ParseReleases(response, query);
|
||||||
|
|
||||||
// publish date is not available in the torrent list, but we add a relative date so we can sort
|
// publish date is not available in the torrent list, but we add a relative date so we can sort
|
||||||
foreach(var release in pageReleases)
|
foreach (var release in pageReleases)
|
||||||
{
|
{
|
||||||
release.PublishDate = lastPublishDate;
|
release.PublishDate = lastPublishDate;
|
||||||
lastPublishDate = lastPublishDate.AddMinutes(-1);
|
lastPublishDate = lastPublishDate.AddMinutes(-1);
|
||||||
@@ -160,8 +160,8 @@ namespace Jackett.Common.Indexers
|
|||||||
var title = qImg.GetAttribute("title");
|
var title = qImg.GetAttribute("title");
|
||||||
if (!CheckTitleMatchWords(query.GetQueryString(), title))
|
if (!CheckTitleMatchWords(query.GetQueryString(), title))
|
||||||
continue; // skip if it doesn't contain all words
|
continue; // skip if it doesn't contain all words
|
||||||
title += _language.Equals("castellano") ? " SPANiSH" : " LATiN-SPANiSH";
|
title += _language.Equals("castellano") ? " MULTi/SPANiSH" : " MULTi/LATiN SPANiSH";
|
||||||
title += " DUAL 1080p BDRip x264";
|
title += " 1080p BDRip x264";
|
||||||
|
|
||||||
var banner = new Uri(qImg.GetAttribute("src"));
|
var banner = new Uri(qImg.GetAttribute("src"));
|
||||||
var link = new Uri(row.QuerySelector("a").GetAttribute("href"));
|
var link = new Uri(row.QuerySelector("a").GetAttribute("href"));
|
||||||
@@ -172,7 +172,7 @@ namespace Jackett.Common.Indexers
|
|||||||
Link = link,
|
Link = link,
|
||||||
Comments = link,
|
Comments = link,
|
||||||
Guid = link,
|
Guid = link,
|
||||||
Category = new List<int> {TorznabCatType.MoviesHD.ID},
|
Category = new List<int> { TorznabCatType.MoviesHD.ID },
|
||||||
BannerUrl = banner,
|
BannerUrl = banner,
|
||||||
Size = 2147483648, // 2 GB
|
Size = 2147483648, // 2 GB
|
||||||
Files = 1,
|
Files = 1,
|
||||||
|
Reference in New Issue
Block a user