in reply to Re: CGI to Pull links off webpage fails on second run
in thread CGI to Pull links off webpage fails on second run

I just ran it with the

$ua->agent("Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");

It now completes (although not nearly as fast as when it completes after the program hasn't been run in a while) but it doesn't retrieve any links. Prints out "Links: " and that's it.

Replies are listed 'Best First'.
Re: Re: Re: CGI to Pull links off webpage fails on second run
by dws (Chancellor) on Apr 11, 2003 at 04:02 UTC
    It now completes ... but it doesn't retrieve any links.

    Time to print out what they are returning. Chances are it's some variant on

    <html><body>Gotcha!</body></html>