bugGNU Wget - Bugs: bug #33827, wget: -A/-R vs. -O

 
 

bug #33827: wget: -A/-R vs. -O

Submitted by:  Noël Köthe <nok>
Submitted on:  Sat 23 Jul 2011 09:04:12 AM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Giuseppe Scrivano <gscrivano>
Originator Name: Open/Closed: Closed
Release: 1.12Operating System: GNU/Linux
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.

 

Fri 05 Aug 2011 08:42:23 PM UTC, comment #1:

thanks to have reported it. The fix is in the source repository and will be included in the next release.

Giuseppe Scrivano <gscrivano>
Project AdministratorIn charge of this item.
Sat 23 Jul 2011 09:04:12 AM UTC, original submission:

Hello,

http://bugs.debian.org/565942

--8<--
When using recursive retrieval with recursive
accept/reject, the accept/reject patterns are
applied against both remote file names and saved
file names. This is documented behavior, and
also documented as controversial.

However, it turns out that the patterns are also
applied against the argument of -O, when given.
That is, my selection of which files to download
limits my options of naming the one file I want
to download them all into.

If this is not clear, consider this session, quote:
"""

$ wget 'http://glz.co.il/NewsIndexSub.aspx?NewsCatId=44' -O x.html -r --level=1 -A'newsArticle.aspx'
WARNING: combining -O with -r or -p will mean that all downloaded content
will be placed in the single file you specified.

--2010-01-19 23:12:49-- http://glz.co.il/NewsIndexSub.aspx?NewsCatId=44
Resolving glz.co.il... 192.117.152.67
Connecting to glz.co.il|192.117.152.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 43333 (42K) [text/html]
Saving to: "x.html"

100%[====================================>] 43,333 188K/s in 0.2s

2010-01-19 23:12:50 (188 KB/s) - "x.html" saved [43333/43333]

Removing x.html since it should be rejected.
"""

That last line can't be right.
--8<--

Noël Köthe <nok>

 

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

Attach File(s):
   
   
Comment:
   

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 gscrivano (Posted a comment)
  • -unavailable- added by nok (Submitted the item)
  • -unavailable- added by nok (Debian BTS)
  •  

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 05 Aug 2011 08:42:23 PM UTCgscrivanoStatusNone=>Fixed
      Assigned toNone=>gscrivano
      Open/ClosedOpen=>Closed
    Sat 23 Jul 2011 09:04:12 AM UTCnokCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1