develooper Front page | perl.libwww | Postings from November 2001

Can't read from a page

Thread Next
Gustaf Bergstr?
November 23, 2001 07:47
Can't read from a page
Message ID:
I am writing a script that collects data drom this page:

No problem with that, but now I want to get som data from 
this page too: 

....and it is impossible! When the script tries to access 
the page, it gets an error page (which you normally would 
get if you misspelled the address or used a nonexisting 

Can a page created with asp have some sort of block, that 
stops scripts from viewing it? Why can it read the first 
address but not the second? 

Here is a part of the code I use: 

$data = "
$lookup = new HTTP::Request 'GET', "$data"; 
$response = $ua->request($lookup); 
@lines = split (/\n/, $response->content); 
print @lines; # just for testing

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About