in reply to Re: Scrap shadow DOM website with Perl
in thread Scrap shadow DOM website with Perl

That sound interesting, also having in mind that I would like to do this for more than one team. Any starting point with this idea?
  • Comment on Re^2: Scrap shadow DOM website with Perl

Replies are listed 'Best First'.
Re^3: Scrap shadow DOM website with Perl
by Corion (Patriarch) on Jan 20, 2021 at 14:43 UTC

    Personally, I like to look at the data first using the developer tools of Firefox or Chrome, and then implement the Websocket client using Mojo::UserAgent.

      Thanks, will take a look!

        So I educated myself a bit with the web developer tools, and I do see some functions that probably are the ones that I might need, like in the code snippet below, however the Mojo::UserAgent parsing doesn't give me any indication for their existance. Is there something that I need to do in order to see those?

        <ft-button class="name" href="/fantasy/dashboard/291187/5083071/19?@pl +ayer-profile=cGxheWVyPTE2MDcwMTtzZWFzb249NjM3O3RvdXJuYW1lbnQ9MjkxMTg3 +O3JvdW5kPTE5">Fernandes</ft-button>