wget-dev
[Top][All Lists]
Advanced

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

wget2 | -X stopps downloading on windows if URL ends not with slash (#58


From: snu7 (@snu7)
Subject: wget2 | -X stopps downloading on windows if URL ends not with slash (#584)
Date: Wed, 09 Feb 2022 19:21:55 +0000


snu7 created an issue: https://gitlab.com/gnuwget/wget2/-/issues/584



I tried only [Lumito version Wget2 1.99.2 for 
Windows](https://www.lumito.net/2020/12/05/released-wget2-1-99-2-for-windows/).

option 
-X  --exclude-directories

With Option -X and URL without slash at the end download stopped! Only 
robots.txt gets downloaded:
```
wget2 -X /some-dir -p https://www.gnu.org
[0] Downloading 'https://www.gnu.org/robots.txt' ...
Saving 'www.gnu.org/robots.txt'
HTTP response 200 OK [https://www.gnu.org/robots.txt]
[0] Downloading 'https://www.gnu.org' ...
```

Without Option -X www.gnu.org/index.html gets saved together with a lot of 
page-requisites:

```
wget2 -p https://www.gnu.org
```
Same with Option -X but domain ending with Slash:
```
wget2 -X /any-x -p https://www.gnu.org/
```

This issue occurs not with old GNU Wget.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/issues/584
You're receiving this email because of your account on gitlab.com.




reply via email to

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