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: Ángel González
Subject: Re: [Bug-wget] downloading entire site to transfer q?
Date: Mon, 10 Nov 2014 23:25:55 +0100
User-agent: Thunderbird

On 10/11/14 02:03, 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 ?
wget doesn't run javascript. Why do you use a javascript redirect?
This code is wrong in many ways. :(





reply via email to

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