bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] downloading entire site to transfer q?


From: Tim Ruehsen
Subject: Re: [Bug-wget] downloading entire site to transfer q?
Date: Mon, 10 Nov 2014 09:32:55 +0100
User-agent: KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; )

On Monday 10 November 2014 12:03:20 address@hidden wrote:
> I'm trying to transfer entire site to a new host, tried several options
> including like:
> 
> wget --recursive --no-clobber --page-requisites --no-parent
> http://www.domain.tld
> 
> but, all i get was single file as so:
> 
> index.html
> -------------------
> <script language="JavaScript">
> <!--
> var sTargetURL = "html/home.htm";
> function doRedirect()
> {
>     setTimeout( "window.location.href = sTargetURL", 1*1000 );
> }
> //-->
> </script>
> <script language="JavaScript1.1">
> <!--
> function doRedirect()
> {
>     window.location.replace( sTargetURL );
> }
> doRedirect();
> //-->
> </script>
> ------------
> 
> so, I entered the actual domain/path like so
> 
> http://www.domain.tld/html/home.htm
> 
> that seems to work, I got the site, but, question:
> 
> what is the proper way, is there a single command to run with such ?
> or, is this javascript, and, wget doesn't do javascript ?
> 
> sorry for dumb question....

Wget simply doesn't support Javascript.

-m/--mirror and maybe leave away --page-requisites.

Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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