dags att checka in
This commit is contained in:
@ -9,9 +9,15 @@ namespace CsharpCorner
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var web = new HtmlWeb();
|
||||
var doc = web.Load("https://www.avanza.se/aktier/lista.html");
|
||||
// var doc = web.Load("https://www.avanza.se/aktier/lista.html");
|
||||
var doc = web.Load("https://www.finansportalen.se/aktiekurser/");
|
||||
// var doc = web.Load("http://www.yellowpages.com/search?search_terms=Software&geo_location_terms=Sydney2C+ND");
|
||||
|
||||
// //*[@id="shareslist"]/table/tbody
|
||||
// //*[@id="shareslist"]/table/tbody/tr[4]/td[1]/a
|
||||
var headerNames = doc.DocumentNode
|
||||
.SelectNodes("//a[@class='ellipsis']").ToList();
|
||||
.SelectNodes("//*[@id='shareslist']/table/tbody/tr[1]/td[1]/a")
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user