Parsing javascript HTML using HTMLAgilityPack
See the question and my original answer on StackOverflowYou can't parse javascript with HTML Agility Pack, it only supports HTML parsing. You can get to the script you need with an XPATH like this:
doc.DocumentNode.SelectSingleNode("//script[contains(text(), 'Blablabla')]").InnerHtml
But you'll need to parse the javascript with another method (regex, js grammar, etc.)