Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当前版本的 libcurl 是否支持 firefox 3.0 及更高版本的 cookie 文件(cookies.sqlite)?我正在尝试将文件设置为允许在从网址检索数据时使用 cookie。
int return_val = curl_easy_setopt(hCurl, CURLOPT_COOKIEFILE, \..\cookies.sqlite);
return_val 为零,但我看不到预期的数据。
您可以尝试解析 SQLite 文件。
但是,firefox 的插件可以以 Netscape (*.txt) 格式导出 cookie。
https://addons.mozilla.org/en-US/firefox/addon/8154