| I did have a limit but near items (like gif and jpg's)
should still be gotten. As a temporary (and a quick
fix) I just changed the source to:
if (liens[ptr]->depth <= 1) {
if(opt->nearlink && (endswith(fil,".gif")
|| endswith(fil,".jpg")
|| endswith(fil,".png")
)
{
forbidden_url=0; // interdire récupération
du lien
if ((opt->debug>1) && (opt->log!=NULL)) {
fspc(opt->log,"debug"); fprintf(opt-
>log,"file from too far level (BUT NOT) ignored at %
s : %s"LF,adr,fil);
test_flush;
}
} else {
forbidden_url=1; // interdire récupération
du lien
if ((opt->debug>1) && (opt->log!=NULL)) {
fspc(opt->log,"debug"); fprintf(opt-
>log,"file from too far level ignored at %s : %
s"LF,adr,fil);
test_flush;
}
}
Sorry about my ignorance but will we see english
comments sometime soon. It's hard to follow the code
with french comments. I just feel that a lot more
people around the world will be able to follow the
source code if english comments were used. | |