HTTrack Website Copier
Free software offline browser - FORUM
Subject: Download single page and all it's dependencies
Author: ITF
Date: 02/28/2004 09:16
 
> Options / Scan rules:
> -* +*.gif +*.jpg +*.png +*.css +*.js
> 
> but this won't carth frames if there are any.. I may add 
> this feature in the future, however, as it is requested 
> time to time.
> 

Please add this feature "--singlepage", so httrack can 
save a single page and all it's content as displayed in 
IExplorer (images, swf, mid, frame, iframe, css, js, ...) 
without downloading the whole site.

It means: do not follow  <a href="...">  tags.

BTW:

I'm looking the source code, but I'm not able to find the 
<a href="..."> parser... where is it? :)

into htsparse.c I found this piece of code:

// <A HREF=.. pour les liens HTML
p=rech_tageq(adr,"href");
if (p) {    // href.. tester si c'est une bas href!
  if ((intag_start_valid) && check_tag
(intag_start,"base")) {  // oui!
    // ** note: base href et codebase ne font pas bon 
ménage..
    p_type=2;    // c'est un chemin
  }
} 

but it doesnt affect subpages scanning...

any suggestion?
Thank you!
 
Reply


All articles

Subject Author Date
Download single page and all it's dependencies

02/28/2004 09:16
Re: Download single page and all it's dependencies

02/29/2004 23:07




7

Created with FORUM 2.0.11