Get Parsed HTML from downloaded html file

This topic contains 2 replies, has 3 voices, and was last updated by  random commandline 1 year, 10 months ago.

  • Author
  • #38525


    I want to use Invoke-WebRequest downloadedFile.html and parse the html, but the object this returns contains a property '.ParsedHtml' which has no data when pointing to an offline file. Is there a way to do this to get parsed html data? Is there another way to do this?

    Many Thanks!

  • #38526

    Dave Wyatt

    I looked into this a while ago and couldn't make it work, but you can download the HTML Agility Pack DLL and use that instead. It works regardless of the source (and generally performs much better anyway.) You can find it at

  • #38527

    random commandline

    What info are you searching for in this html file?

You must be logged in to reply to this topic.