bugGNU Wget - Bugs: bug #49998, Option to download favicon.ico


bug #49998: Option to download favicon.ico

Submitter:  Dale Worley <worley>
Submitted:  Fri 06 Jan 2017 04:41:20 PM UTC
Category:  Feature Request Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  1.16.1 Operating System:  None
Reproducibility:  None Fixed Release:  None
Planned Release:  None Regression:  None
Work Required:  None Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup

Thu 19 Jan 2017 10:55:09 AM UTC, comment #1: 

The favicon will be loaded when you mirror a site and this site advertises it, e.g.:
<link rel="shortcut icon" href="/images/favicon.ico" />

As you can see, the site may have the favicon in some different place then in the server's root directory.

So, basically I am against automatic loading of the favicon (guessing the right URL).

If you want guessing, you could take a tool like 'nikto' and parse it's hits to wget. I mean instead of adding a 'guess' mode for wget.

Tim Ruehsen <rockdaboot>
Group administrator
Fri 06 Jan 2017 04:41:20 PM UTC, original submission:  

Павел Серегов <siarohau@gmail.com> requested:

> Often not exist code for favicon (in index.html), but site have.
> My suggestion:
> If use wget -m, need make download  http://example.com/favicon.ico
> How do you like the idea?

Based on the documentation of -m, viz:

           Turn on options suitable for mirroring.  This option turns on
           recursion and time-stamping, sets infinite recursion depth and
           keeps FTP directory listings.  It is currently equivalent to -r
           -N -l inf --no-remove-listing.

I suggest defining "--favicon" specifically to download
http(s)://xxxx/favicon.ico, and then add --favicon to the specification
of --mirror.

I have not considered what are the proper valu(es) of "http(s)://xxxx".

Dale Worley <worley>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rockdaboot (Posted a comment)
  • -email is unavailable- added by worley (Submitted the item)

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code