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 4 months, 4 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38525
    Profile photo of blueMahakala
    blueMahakala
    Participant

    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
    Moderator

    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 https://htmlagilitypack.codeplex.com/

    #38527
    Profile photo of random commandline
    random commandline
    Participant

    What info are you searching for in this html file?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.