So i scrape a webpage from a local server. But i made an example over at :
Now in the example i use :
This works great to get the full message that is inside the title-attribute of the TD.
Now when i run that in Powershell in combination with the HTMLAgilityPack, it doesn’t work.
I can get the required data with the following code :
[HtmlAgilityPack.HtmlNodeCollection]$body = $doc.DocumentNode.SelectNodes('/html/body/div/table/tr/td') $body.Attributes.GetValue(3).value
This works but i was wondering why the @title does not work?
Someone has an idea ?