using HtmlAgilityPack; using System; using System.Linq; class DrApi { static void get_rants (string url) { string response = HTTP.get(url); HtmlDocument doc = new HtmlDocument(); doc.LoadHtml(response); var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); foreach (var node in nodes) { Console.WriteLine(node.InnerText); } } }