2
0

Compare commits

..

No commits in common. "75eea8c7617d960b105eef22be1f179ef5bb9deb" and "06cdbbd2839a0d0d02d7b430743a0947a2c858f4" have entirely different histories.

View File

@ -131,9 +131,9 @@ public class Manganato : MangaConnector
string pattern = "MMM dd,yyyy HH:mm"; string pattern = "MMM dd,yyyy HH:mm";
HtmlNode oldestChapter = document.DocumentNode HtmlNode oldestChapter = document.DocumentNode
.SelectNodes("//span[contains(concat(' ',normalize-space(@class),' '),' chapter-time ')]").MaxBy( .SelectNodes("//chapter-time[contains(concat(' ',normalize-space(@class),' '),' chapter-time ')]").MaxBy(
node => DateTime.ParseExact(node.GetAttributeValue("title", "Dec 31 2400, 23:59"), pattern, node => DateTime.ParseExact(node.GetAttributeValue("title", "Dec 31 2400, 23:59"), pattern,
CultureInfo.InvariantCulture).Millisecond)!; CultureInfo.InvariantCulture))!;
int year = DateTime.ParseExact(oldestChapter.GetAttributeValue("title", "Dec 31 2400, 23:59"), pattern, int year = DateTime.ParseExact(oldestChapter.GetAttributeValue("title", "Dec 31 2400, 23:59"), pattern,