Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: WWW::Mechanize / javascript pointer

by frieduck (Hermit)
on Nov 12, 2009 at 20:24 UTC ( [id://806800]=note: print w/replies, xml ) Need Help??


in reply to Re^3: WWW::Mechanize / javascript pointer
in thread WWW::Mechanize / javascript pointer

Corion,

How would you handle file downloads with W:M:F? I was looking in the docs the other day, as I'm trying to figure out how to do something similar to what the OP has described, but it requires processing a file download.

  • Comment on Re^4: WWW::Mechanize / javascript pointer

Replies are listed 'Best First'.
Re^5: WWW::Mechanize / javascript pointer
by Corion (Patriarch) on Nov 12, 2009 at 20:42 UTC

    I haven't looked at processing downloads yet. If the content ends up in the browser, you can likely get at it with the ->content method, but I haven't implemented anything like downloads yet. Likely you can easily instruct FireFox to follow a link to an URI and not to prompt you where to save it.

    Patches to add that functionality are welcome.

    Update: Mozilla Development Center even has the Javascript implemented. This doesn't allow for piping the download through Perl as it arrives, but it's a start.

Log In?
Username:
Password:

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

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

    No recent polls found