|go ahead... be a heretic|
Re^3: running an example script with WWW::Mechanize* moduleby Aldebaran (Deacon)
|on Apr 30, 2020 at 04:32 UTC||Need Help??|
marto, thx for your reply...your script works right out of the gate. I believe that this is the second time I've followed Mojo:: based scripts you've posted, finding them useful in both circumstances. Also thanks for the tip to have a gander on cpan. It was interesting for me to look at the source, and clearly, if I wanted to pursue IMDB further, that would be the route.
I spent some time looking at Mojo:: beginning with:
I'm not sure what it all means, but it seems to work and indicate that I have the capabilities I might expect.
I had a bit of aha moment when comparing the logs for WMC:2020/04/29 14:29:32 DEBUG Connecting to ws://127.0.0.1:37749/devtools/browser/58619c4b-5292-4d3a-a0f7-6b69c01c73dc
I don't know how to understand code short of working it and seeing the outcome. So I fiddle around with the examples I can work and then try to re-train the script on a different target, a smaller one that I might be able to understand and that furthers my goals with what I want to do for web automation.If you would prefer some sort of web interface to the results wrap the above around Mojolicious::Lite
I'm hoping that I can get an event clicked on this page maybe with the Mojo:: family of tools. It's the site I've always gone to for ephemeral data and is further set for Portland, OR. I'm looking to get the radio button for julian day pressed and the value for jd populated by:my $julian_day = 2458960;
, updated, and then I want to extract all the values from the table, but with a particular emphasis on getting whether the Sun is up or not at that precise time.
Corion and I have been trying to crack this with WMC, and we're not quite there. Here's how this button looks when I ask google chrome's inspector about it:
Another representation. I think this is what the DOM looks like after data dumped:
Put simply, can Mojolicious do this?