Invoke-WebRequest to scrape web pages

This topic contains 1 reply, has 2 voices, and was last updated by  postanote 3 weeks, 4 days ago.

  • Author
    Posts
  • #101298

    Frederick
    Participant

    Dear All,
    Is it possible to scrape multiple we pages using Invoke-WebRequest or any powershell cmdlets? I am trying to export all player stats from https://whoscored.com/Statistics – Player Statistics. The list goes on for multiple web pages.
    Thanks
    Fred

  • #101316

    postanote
    Participant

    There is no cmdlet/function that by default will do this.
    This is why we'd use collections of objects / locations to act on.
    Why not just create an array for the websites you are targeting and use ForLoop?
    If there is a lot of, leverage parallel processing.

You must be logged in to reply to this topic.