From 554e79f09bd92a7fba208be08e0ca7edb7a15bbd Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 5 Jul 2022 18:38:02 +1200 Subject: [PATCH] divxtotal: fix episode parsing. resolves #13270 --- src/Jackett.Common/Indexers/DivxTotal.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Indexers/DivxTotal.cs b/src/Jackett.Common/Indexers/DivxTotal.cs index a0afeb468..99eedaa0a 100644 --- a/src/Jackett.Common/Indexers/DivxTotal.cs +++ b/src/Jackett.Common/Indexers/DivxTotal.cs @@ -274,7 +274,7 @@ namespace Jackett.Common.Indexers var htmlString = await LoadWebPageAsync(detailsStr); var htmlDocument = ParseHtmlIntoDocument(htmlString); - var tables = htmlDocument.QuerySelectorAll("table.table"); + var tables = htmlDocument.QuerySelectorAll("table.rwd-table"); foreach (var table in tables) { var rows = table.QuerySelectorAll("tbody > tr"); @@ -292,10 +292,8 @@ namespace Jackett.Common.Indexers continue; var downloadLink = GetDownloadLink(row); - var episodePublishStr = row.QuerySelectorAll("td")[3].TextContent.Trim(); - var episodePublish = TryToParseDate(episodePublishStr, publishDate); - seriesReleases.Add(GenerateRelease(episodeTitle, detailsStr, downloadLink, cat, episodePublish, DivxTotalFizeSizes.Series)); + seriesReleases.Add(GenerateRelease(episodeTitle, detailsStr, downloadLink, cat, publishDate, DivxTotalFizeSizes.Series)); } }