in reply to Fetching a link of a webpage (harder than it seems)
If you really want a good answer, we need to know what you are getting, and what do you expect to get.
At this point, I'll risk a guess, since you say you get different results than you get from a browser, it might be that you need to set your useragent to a browser's one:
my $userAgent = LWP::UserAgent->new(); $userAgent->agent('Mozilla/5.0');
The default one used by LWP:: is sometimes blocked or routed by different sites.
Stop saying 'script'. Stop saying 'line-noise'.
We have nothing to lose but our metaphors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Fetching a link of a webpage (harder than it seems)
by danielson (Initiate) on May 10, 2008 at 11:46 UTC | |
by Anonymous Monk on May 10, 2008 at 12:10 UTC |