This project has moved. For the latest updates, please go here.
1
Vote

Don't fine SelectNodes in HTMLnode [C#]

description

Hello I want use HTML Agility Pack to etract direct link By a website.
I try to make different tuto but SelectNodes doesn't exist in Htmlnodes it's the same thing for load.
In a lot of tuto they propose to make like this:
HtmlWeb web = new HtmlWeb();
HtmlDocument doc = web.Load(URL);
and like this:
doc.DocumentNode.Selectnodes("//div[@class='content']//a[@href]");
but VS say Htmlnode doesn't contain a definition for 'Selectnodes'.

comments