Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^6: Fetching URL

by Shaveta_Chawla (Sexton)
on Oct 04, 2011 at 12:29 UTC ( [id://929531]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Fetching URL
in thread Fetching URL

But this is what the problem is... The cookie information also changes with every request. The code on which i am working is like all the pages are dependent on first page. so the cookie information is same for all the request according to my code. but i need to generate different cookie information with every request which should be same as the source is generating.

Replies are listed 'Best First'.
Re^7: Fetching URL
by Corion (Patriarch) on Oct 04, 2011 at 12:54 UTC

    Then, again, you will need to work out what your browser sends if you navigate the website, and, again, replicate what the browser sends from your script. For example, if you want to simulate "open page 1 in one tab", and then "open all linked pages in other tabs, from page 1", the ->back() method of WWW::Mechanize could be of help.

    Again, you have not told me why WWW::Mechanize is insufficient. Please read the documentation and use it or tell us why WWW::Mechanize is insusfficient for your needs.

      Can you help me with the code how to generate header information as i am not able to do that.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-19 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found