in reply to Handling Javascript with LWP::UserAgent
instead ofhttp://www.GIDEONonline.net/authx.php?user=metalib&browser_ok=1
The Javascript on the page you retrieved is simply redirecting you to this location. And LWP::UserAgent does not understand this, as it has no embedded Javascript engine :)http://www.GIDEONonline.net/loginx.php?user=metalib
Generally, if you want to process pages containing JavaScript with LWP::UserAgent, you must carefully read all javascript on the pages you retrieve and decide what workaround to choose in every certain case.
In the worst cases Javascript module is the only solution.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Handling Javascript with LWP::UserAgent
by mrguy123 (Hermit) on Jul 10, 2006 at 09:23 UTC |