问题
Is there any convenient tool/code that converts the standard cookie string format, e.g., NAME1: VALUE1; NAME2: VALUE2
to the libCURL cookie jar format, e.g., .netscape.com TRUE / FALSE 946684799 NETSCAPE_ID 100103
LibCurl seems to have such functionality and how to access it, like using shell command?
回答1:
The chrome extension, edit this cookie has such functionality.
Cookies can be exported into the Netscape cookie jar format. Before that, you need to set the default output format to netscape cookie format.
来源:https://stackoverflow.com/questions/19560722/converting-from-standard-cookie-format-to-libcurl-cookie-jar-format