[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Issue with --content-on-error and --convert-links
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] Issue with --content-on-error and --convert-links |
Date: |
Tue, 27 Jan 2015 10:48:43 +0100 |
User-agent: |
KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; ) |
Hi Yousong,
this patch seems to be incomplete. Do you have a complete patch (e.g. +new
option, + docs) or are you going to work on it ?
Tim
On Thursday 16 October 2014 15:24:48 Yousong Zhou wrote:
> On 13 October 2014 10:25, Joe Hoyle <address@hidden> wrote:
> > Hi All,
> >
> >
> > I’m having issues using "--convert-links” in conjunction with
> > "--content-on-error”. Though "--content-on-error” is forcing wget to
> > download the pages, the links to that “errored” page is not update in
> > other pages that link to it.
> >
> >
> > This seems to be hinted at in the man page:
> >
> >
> > "Because of this, local browsing works reliably: if a linked file was
> > downloaded, the link will refer to its local name; if it was not
> > downloaded, the link will refer to its full Internet address rather than
> > presenting a broken link. The fact that the former links are converted to
> > relative links ensures that you can move the downloaded hierarchy to
> > another directory.”
> >
> >
> > However, it would seem in the case of using —content-on-error it should
> > ignore this rule and do all the link substation anyhow.
> >
> >
> > If anyone knows if this *should* work then I’d be eager to hear it, or any
> > other way I can get any 404 pages downloaded and also linked to in the
> > wget mirror.
> Currently, wget thought pages with 404 status code were not RETROKF
> (retrieval was OK) though the 404 page itself was actually downloaded
> successfully with `--content-on-error` option enabled. This behaviour
> is mostly acceptable I guess. But you can try the attached the patch
> for the moment. The other option would be serving the 404 page by
> manually setting it up with your web server.
>
> Regards.
>
> yousong
signature.asc
Description: This is a digitally signed message part.
- Re: [Bug-wget] Issue with --content-on-error and --convert-links, Александр Куракин, 2015/01/26
- Re: [Bug-wget] Issue with --content-on-error and --convert-links,
Tim Ruehsen <=
- Re: [Bug-wget] Issue with --content-on-error and --convert-links, Yousong Zhou, 2015/01/29
- Re: [Bug-wget] Issue with --content-on-error and --convert-links, Tim Ruehsen, 2015/01/29
- Re: [Bug-wget] Issue with --content-on-error and --convert-links, Yousong Zhou, 2015/01/30
- Re: [Bug-wget] Issue with --content-on-error and --convert-links, Giuseppe Scrivano, 2015/01/30
- Re: [Bug-wget] Issue with --content-on-error and --convert-links, Yousong Zhou, 2015/01/30
- Re: [Bug-wget] Issue with --content-on-error and --convert-links, Darshit Shah, 2015/01/31