Your statement is pretty vague, I'm afraid, but I'll take a shot.
You might want to try WWW::Mechanize to get the original page; you can then use follow_link(text=>$link_name) to access the link. If there's a question of cookie management, Mech will handle that for you.
This guess assumes that the name of the link you want to follow is constant, even though the URL is not (this is a wild guess based on your description).
Go ahead and post whatever code you have (you can change the link to something else if you don't want to specify what site you're scraping). It'll make it easier for us to see that you're trying to do. (English descriptions of processes are notoriously poor.) |