Get Parsed HTML from downloaded html file

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

  • Author
  • #38525
    Profile photo of blueMahakala

    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
    Profile photo of Dave Wyatt
    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
    Profile photo of random commandline
    random commandline

    What info are you searching for in this html file?

You must be logged in to reply to this topic.