Reputation: 53
I want to get the contents of this script
<script language="javascript"> //some content </script>
How to do it using HTMLAgilityPack?
Upvotes: 3
Views: 4570
Reputation: 468
Did you try?
doc.DocumentNode.Descendants("script")
Upvotes: 5