The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

    • G+ Na also, unnützes Wissen ist doch für was gut: "Sie haben mehr Punkte erreicht als 96% der Teilnehmer... 2 hours ago
    • G+ Unpopular opinion: You should NOT be buying phones that do not ship with the latest version of Android... 2 hours ago
    • G+ Welch herzallerliebste Naivität. Natürlich stimmt einiges, was sie schreibt, aber sie ist definitiv ... 2 hours ago
    • @matijn @twelphcom Wat een leuke protegé heb je! Zo'n dag is toch heel wat anders dan de annegriep die ik dacht. Sorry voor dat. 3 hours ago
    • RT @CodeWisdom: "Computers are good at following instructions, but not at reading your mind." - Donald Knuth 3 hours ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,843 other followers

Exporting Google Chrome cookies for wget usage: cookie.txt export – Google Chrome extension gallery

Posted by jpluimers on 2011/05/30

When using wget for downloading from the command-line, sometimes you need cookies in netscape file format.

There is a Chrome cookie.txt export extension that makes exporting your cookies in that format easy.

It opens a window that contains the cookies relevant to the domain of the currently opened web-page. You copy/paste your cookies in format like this:

# Cookies for domains related to
# This content may be pasted into a cookies.txt file and used by wget
# Example: wget -x --load-cookies cookies.txt
# FALSE / FALSE 1304919940 TESTCOOKIE home FALSE / FALSE 1304920249 TESTCOOKIE home FALSE / FALSE 1304920561 TESTCOOKIE home FALSE / FALSE 1304920572 TESTCOOKIE home

It even includes the wget command-line example for loading the cookies using the –load-cookies option :)


via: cookie.txt export – Google Chrome extension gallery.

3 Responses to “Exporting Google Chrome cookies for wget usage: cookie.txt export – Google Chrome extension gallery”

  1. sasi said

    actually where do i need to use that wget command.. had the text file..

  2. jmdigne said

    Thanks a lot for your trick, this save me a lot of time to do backup

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: