cinecalidad: improve titles (#9709)

This commit is contained in:
Daniel Martin Gonzalez
2020-10-02 14:29:14 +02:00
committed by GitHub
parent 805f40ae4d
commit 2d7c93d243

View File

@@ -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",
@@ -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"));