bugGNU Wget - Bugs: bug #60244, With -A, the no-clobbering does...

 
 

bug #60244: With -A, the no-clobbering does not work anymore

Submitter:  None
Submitted:  Tue 16 Mar 2021 07:27:38 PM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.20
Operating System:  Others (Please Specify) Reproducibility:  Every Time
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 16 Mar 2021 07:27:38 PM UTC, original submission:  

OS is Cygwin on W10.

I used wget as an image scraper and therefore set  -Ajpg as an option.

So the commands were
wget -r -l4 --no-parent -nv --page-requisites -H -Dthumb-p0.xhcdn.com,thumb-p1.xhcdn.com,thumb-p2.xhcdn.com,thumb-p3.xhcdn.com,thumb-p4.xhcdn.com,thumb-p5.xhcdn.com,thumb-p6.xhcdn.com,thumb-p7.xhcdn.com,thumb-p8.xhcdn.com,thumb-p9.xhcdn.com,www.xhamster.com -e robots=off -nd -Ajpg -P scarlett-johansson-15779909 -p https://de.xhamster.com/photos/gallery/scarlett-johansson-15779909
wget -r -l4 --no-parent -nv --page-requisites -H -Dthumb-p0.xhcdn.com,thumb-p1.xhcdn.com,thumb-p2.xhcdn.com,thumb-p3.xhcdn.com,thumb-p4.xhcdn.com,thumb-p5.xhcdn.com,thumb-p6.xhcdn.com,thumb-p7.xhcdn.com,thumb-p8.xhcdn.com,thumb-p9.xhcdn.com,www.xhamster.com -e robots=off -nd -Ajpg -P scarlett-johansson-15779909 -p https://de.xhamster.com/photos/gallery/scarlett-johansson-15779909/2


Then I noticed that some images were missing in the end.

It turned out that in the case of a name clash, the new file gets a ".tmp" appended. This extension is not in the list of accepted suffixes, so the file is immediately deleted after the download!

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-04b1.
Corresponding source code