wget-dev
[Top][All Lists]
Advanced

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

Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383)


From: DalmeGNU
Subject: Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383)
Date: Thu, 16 Aug 2018 19:24:15 +0000

By manually I mean.. this thing (amaya.tk/wget is a copy of the HTML files 
using in those tests):

```
address@hidden:~/tmp-import-export/wget2$ ./src/wget2 
--exclude-directories=*/pub -r http://amaya.tk/wget
[1] Downloading 'http://amaya.tk/robots.txt' ...
HTTP ERROR response 404 Not Found [http://amaya.tk/robots.txt]
[1] Downloading 'http://amaya.tk/wget' ...
HTTP response 301 Moved Permanently [http://amaya.tk/wget]
Adding URL: http://amaya.tk/wget/
[1] Downloading 'http://amaya.tk/wget/' ...
Saving 'amaya.tk/wget'
HTTP response 200 OK [http://amaya.tk/wget/]
URI content encoding = 'CP1252' (default, encoding not specified)
Adding URL: http://amaya.tk/wget/firstdir/secondpage.html
Adding URL: http://amaya.tk/wget/nonexistent
[1] Downloading 'http://amaya.tk/wget/nonexistent' ...
[0] Downloading 'http://amaya.tk/wget/firstdir/secondpage.html' ...
HTTP ERROR response 404 Not Found [http://amaya.tk/wget/nonexistent]
Saving 'amaya.tk/wget/firstdir/secondpage.html'
HTTP response 200 OK [http://amaya.tk/wget/firstdir/secondpage.html]
URI content encoding = 'CP1252' (default, encoding not specified)
Adding URL: http://amaya.tk/wget/seconddir/thirdpage.html
[1] Downloading 'http://amaya.tk/wget/seconddir/thirdpage.html' ...
Saving 'amaya.tk/wget/seconddir/thirdpage.html'
HTTP response 200 OK [http://amaya.tk/wget/seconddir/thirdpage.html]
URI content encoding = 'CP1252' (default, encoding not specified)
Adding URL: http://amaya.tk/wget/firstdir/pub/dummy.txt
Adding URL: http://amaya.tk/wget/againnonexistent
[1] Downloading 'http://amaya.tk/wget/firstdir/pub/dummy.txt' ...
[0] Downloading 'http://amaya.tk/wget/againnonexistent' ...
Saving 'amaya.tk/wget/firstdir/pub/dummy.txt'
HTTP response 200 OK [http://amaya.tk/wget/firstdir/pub/dummy.txt]
HTTP ERROR response 404 Not Found [http://amaya.tk/wget/againnonexistent]
Downloaded: 4 files, 1.80K bytes, 1 redirects, 3 errors
```

```
address@hidden:~/tmp-import-export/wget2$ ls amaya.tk/wget/firstdir/pub/
dummy.txt
address@hidden:~/tmp-import-export/wget2$ 
```

Surprise.. files contained at pub are being downloaded, but the test (which 
does exactly this) passed..

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


reply via email to

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