NAME

HTTP::Cookies::Chrome - Cookie storage and management for Google Chrome

SYNOPSIS

use HTTP::Cookies::Chrome;

my $cookie_jar = HTTP::Cookies::Chrome->new;
$cookie_jar->load( $path_to_cookies );

# otherwise same as HTTP::Cookies

DESCRIPTION

This package overrides the load() and save() methods of HTTP::Cookies so it can work with Google Chrome cookie files, which are SQLite databases.

See HTTP::Cookies.

The Chrome cookies table

creation_utc    INTEGER NOT NULL UNIQUE PRIMARY KEY
host_key        TEXT NOT NULL
name            TEXT NOT NULL
value           TEXT NOT NULL
path            TEXT NOT NULL
expires_utc     INTEGER NOT NULL
secure          INTEGER NOT NULL
httponly        INTEGER NOT NULL
last_access_utc INTEGER NOT NULL

SOURCE AVAILABILITY

This module is in Github:

http://github.com/briandfoy/HTTP-Cookies-Chrome

AUTHOR

brian d foy, <bdfoy@cpan.org>

CREDITS

Jon Orwant pointed out the problem with dates too far in the future

COPYRIGHT AND LICENSE

Copyright (c) 2009-2010 brian d foy. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.