|
|
|
@ -2,6 +2,7 @@ using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Collections.Specialized;
|
|
|
|
|
using System.Globalization;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Net;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using AngleSharp.Html.Parser;
|
|
|
|
@ -178,8 +179,7 @@ public class PixelHDParser : IParseIndexerResponse
|
|
|
|
|
{
|
|
|
|
|
var groupName = group.QuerySelector("strong:has(a[title=\"View Torrent\"])")?.TextContent.Replace(" ]", "]");
|
|
|
|
|
|
|
|
|
|
var imdbLink = group.QuerySelector("a[href*=\"imdb.com/title/tt\"]")?.GetAttribute("href");
|
|
|
|
|
var imdbId = ParseUtil.GetImdbId(imdbLink) ?? 0;
|
|
|
|
|
var imdbId = ParseUtil.GetImdbId(group.QuerySelector("a[href*=\"imdb.com/title/tt\"]")?.GetAttribute("href")?.TrimEnd('/')?.Split('/')?.LastOrDefault()) ?? 0;
|
|
|
|
|
|
|
|
|
|
var rows = group.QuerySelectorAll("tr.group_torrent:has(a[href^=\"torrents.php?id=\"])");
|
|
|
|
|
foreach (var row in rows)
|
|
|
|
|