mirror of
https://github.com/Jackett/Jackett
synced 2025-03-01 09:25:50 +00:00
scenehd: andmatch (#8620)
This commit is contained in:
parent
d0ef9dbe07
commit
85b34ffe1f
1 changed files with 5 additions and 1 deletions
|
@ -101,6 +101,10 @@ namespace Jackett.Common.Indexers
|
||||||
var jsonContent = JArray.Parse(response.Content);
|
var jsonContent = JArray.Parse(response.Content);
|
||||||
foreach (var item in jsonContent)
|
foreach (var item in jsonContent)
|
||||||
{
|
{
|
||||||
|
var title = item.Value<string>("name");
|
||||||
|
if (!query.IsImdbQuery && !query.MatchQueryStringAND(title))
|
||||||
|
continue;
|
||||||
|
|
||||||
var id = item.Value<long>("id");
|
var id = item.Value<long>("id");
|
||||||
var comments = new Uri(CommentsUrl + "id=" + id);
|
var comments = new Uri(CommentsUrl + "id=" + id);
|
||||||
var link = new Uri(DownloadUrl + "id=" + id + "&passkey=" + passkey);
|
var link = new Uri(DownloadUrl + "id=" + id + "&passkey=" + passkey);
|
||||||
|
@ -109,7 +113,7 @@ namespace Jackett.Common.Indexers
|
||||||
|
|
||||||
var release = new ReleaseInfo
|
var release = new ReleaseInfo
|
||||||
{
|
{
|
||||||
Title = item.Value<string>("name"),
|
Title = title,
|
||||||
Link = link,
|
Link = link,
|
||||||
Comments = comments,
|
Comments = comments,
|
||||||
Guid = comments,
|
Guid = comments,
|
||||||
|
|
Loading…
Reference in a new issue