HTTrack Website Copier
Free software offline browser - FORUM
Subject: css not included in mirrored pages
Author: dr.wolferl
Date: 06/29/2004 20:55
 
We are using the command line tool to mirror a set of 
pages, it is started with the following line:

C:\Programme\WinHTTrack\httrack 
<https://test/test1/index.html> -O C:\mirrored\test +*.gif 
+*.jpg +*.css -q -Q -%h -F "Mozilla/4.0 (compatible; MSIE 
6.0; Windows NT 5.0)"

We have a server side redirection to test1 and this seems 
to cause the problem: in this case the original <link 
rel="stylesheet" href="/css/test1.css" type="text/css"> is 
changed to <link rel="stylesheet" 
href=https://test1/test1/css/test1.css type="text/css">.

Without the redirection everything works fine.

We have also used the GUI version without problem and 
retrieved the arguments used there from the log file. 
Starting the command line tool then with following command 
works OK:

C:\Programme\WinHTTrack\httrack 
<https://test/test1/index.html> -O "C:\mirrored\test" -qiC1%
Ps2u1%h%sN0%I0p3DaK0H0%kf2A25000%f#f -F "Mozilla/4.5 
(compatible; HTTrack 3.0x; Windows 98)" -%F "<!-- Mirrored 
from %s%s by HTTrack Website Copier/3.x [XR&CO'2003], %s --
>" -%l "en, *" +*.png +*.gif +*.jpg +*.css +*.js -
ad.doubleclick.net/* -%A 
php3,php,php2,asp,jsp,pl,cfm=text/html

But I'm not comfortable with so many additional attributes 
I don't know what they are good for. Any idea why the first 
command does not work and which parameter needs to be 
added? I already saw a nother posting regarding the browser 
ID but this doesn't change anything.

Thanks for any help on this,

Wolfgang
 
Reply


All articles

Subject Author Date
css not included in mirrored pages

06/29/2004 20:55
Re: css not included in mirrored pages

07/05/2004 14:02
Re: css not included in mirrored pages

07/06/2004 11:26




8

Created with FORUM 2.0.11