[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] How to just download cookies?
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] How to just download cookies? |
Date: |
Mon, 01 Aug 2011 11:24:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Peng Yu <address@hidden> 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