bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: anonymous
Subject: [bug #60244] With -A, the no-clobbering does not work anymore
Date: Tue, 16 Mar 2021 15:27:40 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0

URL:
  <https://savannah.gnu.org/bugs/?60244>

                 Summary: With -A, the no-clobbering does not work anymore
                 Project: GNU Wget
            Submitted by: None
            Submitted on: 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: 
             Open/Closed: Open
                 Release: 1.20
         Discussion Lock: Any
        Operating System: Others (Please Specify)
         Reproducibility: Every Time
           Fixed Release: None
         Planned Release: None
              Regression: None
           Work Required: None
          Patch Included: None

    _______________________________________________________

Details:

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!





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60244>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]