HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: footer information in hts-log.txt
Author: Xavier Roche
Date: 07/29/2006 14:11
 
> Would it be possible to modify HTTrack to output to
> the hts-log.txt file the -F% option when the
> selection in WinHTTrack for HTML Footer = None?
The log output is indeed bogus ; here's the fix:

--- htscoremain.c.orig  2006-07-29 14:09:09.348084139 +0200
+++ htscoremain.c       2006-07-29 14:08:47.000000000 +0200
@@ -2063,3 +2063,3 @@
         for(i=0;i<argc;i++) {
-          if ((strchr(argv[i],' ')==NULL) || (strchr(argv[i],'\"')))
+          if (strnotempty(argv[i]) && (strchr(argv[i],' ')==NULL) ||
(strchr(argv[i],'\"')))
             fprintf(opt->log,"%s ",argv[i]);

> I've tried using the blank setting for HTML Footer
> in WinHTTrack, but it seems the default is to add a
> footer to the downloaded pages.

Err, no, it shouldn't.

By the way, why don't you extract the commandline from hts-cache/doit.log ?
 
Reply Create subthread


All articles

Subject Author Date
footer information in hts-log.txt

07/28/2006 01:10
Re: footer information in hts-log.txt

07/29/2006 14:11
Re: footer information in hts-log.txt

11/15/2006 21:37




3

Created with FORUM 2.0.11