Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: WWW::Mechanize : how to download witout changing location ?

by arkturuz (Curate)
on Jul 24, 2013 at 20:47 UTC ( #1046202=note: print w/ replies, xml ) Need Help??


in reply to WWW::Mechanize : how to download witout changing location ?

My first guess is that your website sends a unique cookie along with HTML form to be submitted. So, you should probably initialize WWW::Mechanize with a corensponding cookie jar. Also, show us some code, it's more than welcome here and it can be a better way of solving your problem.


Comment on Re: WWW::Mechanize : how to download witout changing location ?
Re^2: WWW::Mechanize : how to download witout changing location ?
by Anonymous Monk on Jul 25, 2013 at 03:22 UTC

    So, you should probably initialize WWW::Mechanize with a corensponding cookie jar.

    Mechanize comes with a cookie jar

      That's right. I thought it should be separately initialized to be used.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2014-07-13 05:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (247 votes), past polls