Re: [Bug-wget] How to just download cookies?
Peng Yu pengyu...@gmail.com writes: Hi, I use the following code to download the cookies. But it will always download some_page. Is there a way to just download the cookies? wget --post-data='something' --directory-prefix=/tmp --save-cookies=cookies_file --keep-session-cookies http://xxx.com/some_page /dev/null Probably what you want in your command is -O/dev/null, or -O- /dev/null. Cheers, Giuseppe
[Bug-wget] How to just download cookies?
Hi, I use the following code to download the cookies. But it will always download some_page. Is there a way to just download the cookies? wget --post-data='something' --directory-prefix=/tmp --save-cookies=cookies_file --keep-session-cookies http://xxx.com/some_page /dev/null -- Regards, Peng