Hello everybody
As I use wget quite often for mirrors, it's very annoying to be limited to the
host for inline elements (without the span-host option).
So I modified recur.c with 2-3 lines
/* 7. */
if (schemes_are_similar_p (u->scheme, parent->scheme)) {
if (!opt.spanhost && 0 != strcasecmp (parent->host, u->host))
{
if (!(opt.page_requisites && upos->link_inline_p))
{
DEBUGP (("This is not the same hostname as the parent's (%s and %s).\n",
u->host, parent->host));
goto out;
}
}
}
/* 8. */
and I use it like:
$ ./wget --output-file=test.log -k -E -K --no-check-certificate -p -e
robots=off -m URL
First tests are done (simple examples - inline images and iframes included from
amazon) and seem to work.
My question : Is there interest in this and would an additional option be the
better way?
Greets from Switzerland, Jonas