public HNAgent GetThreadsUser(string id) { Sleep(); html = HNFetcher.GetThreadsUser(id); url = HNFetcher.hnurl + "threads?id="; return(this); }
public HNAgent NextPage() { Sleep(); var href = HNParser.GetMoreHref(html); if (href != null) { url = HNFetcher.hnurl + href; html = HNFetcher.GetHTML(href); } return(this); }
public HNAgent GetThreadListToday() { Sleep(); html = HNFetcher.GetThreadListToday(); return(this); }
public HNAgent GetThread(string id, int page = 1) { Sleep(); html = HNFetcher.GetThread(id, page); return(this); }