Deserialize cookiejar struct from binary file

Hello everyone! Please help me!
I have a binary cookie file.
In python i’m parsing it like:

with open(’/usr/local/mail_validator/dv/scripts/cookies_mail.ru’, ‘rb’) as f:
Session.cookies.update(pickle.load(f))

So how can I deserialize this on Go ?

Hi. If you must have the file in pythons pickle format can you maybe parse it with https://github.com/hydrogen18/stalecucumber

Otherwise save it to the file as for example json

Thank you man!)

1 Like