搜尋 Mozilla 技術支援網站

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Where do I find cookies.txt now?

  • 5 回覆
  • 1 有這個問題
  • 10869 次檢視
  • 最近回覆由 rimiha

more options

Using Firefox 16.0.1 under Windows 7

I want to use wget to script fetching some files, but I need the cookies from my login. wget lets you load from a cookies.txt file, but all I can find is cookies.sqlite, and that does not seem to work.

I am assuming that cookies.sqlite is an "improvement" over the older "cookies.txt" format ... but is there any way to export cookies to the old format (or just tell Firefox to use the old format)?

所有回覆 (5)

more options

Sorry, the old cookies.txt format is gone and isn't directly compatible with the new cookies.sqlite file. I know of no converter between the two formats.

You can see if anything here helps you.
http://www.sqlite.org/index.html

more options

選擇的解決方法

more options

Hmm. This adds a menu item to export cookies to the "Tools" menu.

Firefox 17 does not seem to _have_ a "Tools" menu. It has a single menu in the upper/left next to the tabs. Is there any way to configure this to a "classic" configuration with a real menu bar that might have a "Tools" menu?

more options

Thank you. Now I have to learn SQLite to make this work ...

more options

Aha! You can restore the classic menu bar, and it still has a Tools menu! Huzzah!