Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Scraping Javascript page using perl

by markong (Pilgrim)
on Nov 21, 2020 at 16:50 UTC ( [id://11123980]=note: print w/replies, xml ) Need Help??


in reply to Scraping Javascript page using perl

Hi Edoardo, a quick reply with some pointers in directions worth exploring.

First things first: if I look at the source of that page, I don't see any JS. I see pretty basic HTML. What I see is also a bunch of frames, and you should look at the source of the pages loaded in those frames if you already get what you're looking for (sorry have no time to do this for you, also you don't specify what you're after).

If you're also interested in easily executing/parsing some JS (ECMA Script v3) code, I would give something like JE a try!
Why? Because I see in the source of the page this:

<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
and I bet the JS wouldn't be an Angular module, if any!

Saluti

Replies are listed 'Best First'.
Re^2: Scraping Javascript page using perl
by Bpl (Scribe) on Nov 21, 2020 at 17:06 UTC
    Hi, I am currently fixing this using

    https://metacpan.org/pod/WWW::Mechanize::Frames

    The idea is to download every pdf file from the site

    Grazie per L'interessamento.

    Edoardo

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11123980]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-16 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found