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


bug #49998: Option to download favicon.ico

Submitted by:  Dale Worley <worley>
Submitted on:  Fri 06 Jan 2017 04:41:20 PM UTC  
Category: Feature RequestSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: 1.16.1Operating System: None
Reproducibility: NoneFixed Release: None
Planned Release: NoneRegression: None
Work Required: NonePatch Included: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1