|
|
@ -51,7 +51,6 @@ public class Posting |
|
|
|
MatchCollection matches = r.Matches(node.InnerHtml); |
|
|
|
MatchCollection matches = r.Matches(node.InnerHtml); |
|
|
|
this.DatePosted = DateTime.Parse(matches[0].Value); |
|
|
|
this.DatePosted = DateTime.Parse(matches[0].Value); |
|
|
|
this.DateDue = DateTime.Parse(matches[1].Value); |
|
|
|
this.DateDue = DateTime.Parse(matches[1].Value); |
|
|
|
Console.WriteLine($"Due: {this.DateDue}, posted: {this.DatePosted}"); |
|
|
|
|
|
|
|
foreach (HtmlNode link in htmlDoc.DocumentNode.SelectNodes("//span[@class=\"rightCol\"]")) |
|
|
|
foreach (HtmlNode link in htmlDoc.DocumentNode.SelectNodes("//span[@class=\"rightCol\"]")) |
|
|
|
{ |
|
|
|
{ |
|
|
|
switch (i) |
|
|
|
switch (i) |
|
|
|