Last active
September 3, 2017 14:59
-
-
Save JonathanMagnan/28d5c09a2d55f93df351555c5f564682 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From File | |
var doc = new HtmlDocument(); | |
doc.Load(filePath); | |
// From String | |
var doc = new HtmlDocument(); | |
doc.LoadHtml(html); | |
// From Web | |
var url = "http://html-agility-pack.net/"; | |
var web = new HtmlWeb(); | |
var doc = web.Load(url); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment