mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
divxtotal: fix episode parsing. resolves #13270
This commit is contained in:
@@ -274,7 +274,7 @@ namespace Jackett.Common.Indexers
|
|||||||
var htmlString = await LoadWebPageAsync(detailsStr);
|
var htmlString = await LoadWebPageAsync(detailsStr);
|
||||||
var htmlDocument = ParseHtmlIntoDocument(htmlString);
|
var htmlDocument = ParseHtmlIntoDocument(htmlString);
|
||||||
|
|
||||||
var tables = htmlDocument.QuerySelectorAll("table.table");
|
var tables = htmlDocument.QuerySelectorAll("table.rwd-table");
|
||||||
foreach (var table in tables)
|
foreach (var table in tables)
|
||||||
{
|
{
|
||||||
var rows = table.QuerySelectorAll("tbody > tr");
|
var rows = table.QuerySelectorAll("tbody > tr");
|
||||||
@@ -292,10 +292,8 @@ namespace Jackett.Common.Indexers
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
var downloadLink = GetDownloadLink(row);
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user