public ChapterObject ParseChapterObject(string Content) { HtmlDocument ChapterObjectDocument = new HtmlDocument(); ChapterObjectDocument.LoadHtml(Content); String PagesSelector = "/html/body/section[3]/div/div[9]/div/div[2]/p/a"; HtmlNodeCollection PageNodes = ChapterObjectDocument.DocumentNode.SelectNodes(PagesSelector); return(new ChapterObject() { Pages = (from PageNode in PageNodes select new PageObject() { Url = String.Format("{0}{1}", ExtensionDescriptionAttribute.RootUrl, PageNode.GetAttributeValue("href", null)), PageNumber = UInt32.Parse(PageNode.InnerText) }).ToList() }); }