Daybreak Faction - Puzzle 3

This topic contains 2 replies, has 2 voices, and was last updated by  JB Lewis 3 months, 2 weeks ago.

  • Author
  • #92468

    Brandon Olin

    Here is my solution to puzzle 3. I'm not happy with just outputting the raw HTML when selecting to open the post link in the console. Hoping others have a more elegant solution to that. Tested on and my own blog

    Works on PowerShell 5.1/6.0

  • #92737

    JB Lewis

    Instead of

    $feeds = [xml](Invoke-WebRequest -Uri $Uri -UseBasicParsing)

    I tried

    $Feeds = Invoke-RestMethod -Method Get -Uri $Uri

    , avoiding the need to drill into

    I haven't tried writing the output half of the script yet.

    • #92836

      JB Lewis

      And now I have it on good authority that I've gone astray with ver6 compatibility trying to use Invoke-WebRequest. Oh well.

You must be logged in to reply to this topic.