using HtmlAgilityPack;
using System;
using System.Linq;
class DrApi {
public static async Task get_rants (string url) {
string response = await 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);
}
return null;
}
}