[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Can't identify redirects (#521)
From: |
Tim Rühsen |
Subject: |
Re: wget2 | Can't identify redirects (#521) |
Date: |
Sun, 19 Apr 2020 10:58:03 +0000 |
Tim Rühsen commented:
Hi Stefan,
please have a look into `--stats-site` (and possibly the other stats options).
That likely is better machine readable and also, debug output may change over
time.
Example:
```
$ wget2 --stats-site=csv:skittel.csv http://www.skittel.de
$ cat skittel.csv
ID,ParentID,URL,Status,Link,Method,Size,SizeDecompressed,TransferTime,ResponseTime,Encoding,Verification,Last-Modified,Content-Type
1,0,http://www.skittel.de,301,1,1,310,310,41,41,0,0,0,text/html
2,0,https://www.skittel.de/,200,0,1,5351,19356,162,162,1,0,0,text/html
```
In `contrib/` you find helper scripts to convert csv output to JSON and a tree
view (if you use recursive downloads).
Cheers !
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/issues/521#note_326820531
You're receiving this email because of your account on gitlab.com.