Add project files.
This commit is contained in:
17
CsharpCorne/Program.cs
Normal file
17
CsharpCorne/Program.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using HtmlAgilityPack;
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace CsharpCorner
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var web = new HtmlWeb();
|
||||
var doc = web.Load("https://www.avanza.se/aktier/lista.html");
|
||||
var headerNames = doc.DocumentNode
|
||||
.SelectNodes("//a[@class='ellipsis']").ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user