bug-wget
[Top][All Lists]
Advanced

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

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


From: voytek
Subject: [Bug-wget] downloading entire site to transfer q?
Date: Mon, 10 Nov 2014 12:03:20 +1100
User-agent: SquirrelMail/1.5.2 [SVN]

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....




reply via email to

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