Compare commits
2 Commits
113a4bb19d
...
3fd0218db3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3fd0218db3 | ||
|
|
ad24dacac6 |
@@ -11,7 +11,6 @@ namespace lottery_co_uk_scraper.NationalLottery
|
||||
try
|
||||
{
|
||||
string html = await client.GetStringAsync(url);
|
||||
|
||||
var doc = new HtmlDocument();
|
||||
doc.LoadHtml(html);
|
||||
|
||||
@@ -37,17 +36,10 @@ namespace lottery_co_uk_scraper.NationalLottery
|
||||
{
|
||||
Console.WriteLine($"An error occurred: {ex.Message}");
|
||||
}
|
||||
finally
|
||||
{
|
||||
//client.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public static class LotteryTableRow
|
||||
{
|
||||
// Also make this class private or internal
|
||||
// ToDo: do away with this or put it somewhere more logical?
|
||||
// update to internal?
|
||||
public const string Match2 = "Match 2";
|
||||
public const string Match3 = "Match 3";
|
||||
public const string Match4 = "Match 4";
|
||||
|
||||
Reference in New Issue
Block a user