bugGNU Wget - Bugs: bug #20483, --min-size and --max-size


bug #20483: --min-size and --max-size

Submitter:  Micah Cowan <micahcowan>
Submitted:  Sat 14 Jul 2007 08:00:33 PM UTC
Category:  Feature Request Severity:  1 - Wish
Priority:  2 Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Operating System:  None
Reproducibility:  None Fixed Release:  None
Planned Release:  1.15 Regression:  None
Work Required:  0 - Hours Patch Included:  Yes
* Mandatory Fields

Add a New Comment Rich Markup

Mon 15 Dec 2014 04:05:10 PM UTC, comment #3: 

I am very interested by a "--max-size" options based on HTTP Content-Length. In my case I don't need to have different behavior on HTML and non HTML files.
Note the "gname.org" website seems to have closed and I can't get any patch on it.

Wed 20 Feb 2008 07:51:03 PM UTC, comment #2: 

Moving to 1.12 target because a patch exists.

Micah Cowan <micahcowan>
Wed 01 Aug 2007 12:16:15 AM UTC, comment #1: 

A more generic mechanism than "non-HTML files" may be desired... but OTOH we don't want to complicate this overly much.

Micah Cowan <micahcowan>
Sat 14 Jul 2007 08:00:33 PM UTC, original submission:  

From http://article.gmane.org/gmane.comp.web.wget.patches/2140 , where you will find changelogs for this and another patch.

patch-http provides two new options, --min-size (-s)
and --max-size (-M), although the shortcuts could
obviously be changed.  Non-HTML files that don't fit
these constraints (expressed in kB) will simply not be
retrieved.  This relies on the Content-Length HTTP
header and will not work for FTP. This is quite useful
when retrieving jpeg images from a site to avoid
thumbnails for instance, as explained in the related
documentation paragraph.

Micah Cowan <micahcowan>


(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 micahcowan (Submitted the item)

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-04-14 micahcowan Planned Release1.12 1.15
    2008-02-20 micahcowan Planned Release1.15 1.12
    2008-01-27 micahcowan Planned Release1.12 1.15
    2007-08-01 micahcowan Priority5 - Normal 2
    2007-07-20 micahcowan Work RequiredNone 0 - Hours
    2007-07-20 micahcowan Planned ReleaseNone 1.12

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code