[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] can wget handle frames and redirects?

From: Ángel González
Subject: Re: [Bug-wget] can wget handle frames and redirects?
Date: Sun, 10 Apr 2011 01:27:32 +0200
User-agent: Thunderbird

augustin wrote:
> Hello,
> Is there a way to deal with frames?
> Is there any way at all to download the source html of such a web site using 
> wget?

If you call wget with --page-requisites it will fetch the page and the
subpages inside frames.

> I want to wget this page: 
> http://www10.antenna.nl/wise/index.html?http://www10.antenna.nl/wise/535/5204.html
> but wget does not seem to handle frames.
> If I access the inner frame directly:
> http://www10.antenna.nl/wise/535/5204.html
> I am redirected to the former page.
> I tried the option  --max-redirect=0  but to no avail.
However, in this case the page is dynamically getting the frame url from
the search string using javascript.
wget doesn't parse page javascript, so it will just fetch content.php
instead (the same you see when going to
that page with javascript disabled). If it was instead replaced at the
server, wget would have no problems.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]