wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wget-dev] wget2 | Fix for -p -nc Bug (!416)


From: Tim Rühsen
Subject: Re: [Wget-dev] wget2 | Fix for -p -nc Bug (!416)
Date: Thu, 21 Mar 2019 08:44:48 +0000



Tim Rühsen started a new discussion on src/wget.c:

>               // TODO SAVE UNIQUE-NESS
>       } else {
>               if (fd == -1) {
> -                     if (errno == EEXIST)
> +                     if (errno == EEXIST){
>                               error_printf(_("File '%s' already there; not 
> retrieving.\n"), fname);
> -                     else if (errno == EISDIR)
> +
> +                             if(config.page_requisites && !config.clobber){
> +                                     if 
> (!wget_strcasecmp_ascii(resp->content_type, "text/html") || 
> !wget_strcasecmp_ascii(resp->content_type, "application/xhtml+xml")) {

If you look at `src/wget.c, ~L2050...`, shouldn't we add atom, rss and sitemap 
parsing here as well ?

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/merge_requests/416#note_152786222
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]