bug-wget
[Top][All Lists]
Advanced

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

Re: Can wget work with google chrome cookie?


From: Tim Rühsen
Subject: Re: Can wget work with google chrome cookie?
Date: Sun, 16 Feb 2020 11:56:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2

Oh, there is such a tool as a Chrome extension:

https://chrome.google.com/webstore/detail/cookiestxt/njabckikapfpffapmjgojcnbfjonfjfg


On 16.02.20 11:54, Tim Rühsen wrote:
> A conversion tool would be nice, indeed.
> 
> Most of the fields are the same. 'hostOnly' is represented in
> wget/netscape cookies.txt by NOT having a leading dot for the domain.
> E.g. '.example.com' means NOT hostOnly (= cookie is valid also for all
> subdomains).
> 
> Our cookie format does not have 'sameSite' and there is no 'storeId'.
> 
> Everything else should be mapped 1-1.
> 
> Regards, Tim
> 
> 
> On 16.02.20 02:03, Peng Yu wrote:
>> Hi,
>>
>> https://apple.stackexchange.com/questions/232433/where-are-google-chrome-cookies-stored-on-a-mac
>> "Session cookies are only stored in memory, but the rest are in
>> ~/Library/Application Support/Google/Chrome/Default/Cookies, it's an
>> sqlite3 database."
>>
>> I see that session cookies are not stored in a file. So there is no
>> way to let wget work with google chrome cookies since session cookies
>> are not available?
>>
>> Also, the cookie fields of google chrome is not exactly the same as
>> netscape cookies format used by wget. How are the fields mapped to
>> each other? Thanks.
>>
>> https://developer.chrome.com/extensions/cookies
>> http://www.cookiecentral.com/faq/#3.5
>>
> 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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