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.

NOTE: This does not handle encrypted cookies files yet (https://github.com/briandfoy/HTTP-Cookies-Chrome/issues/1).

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:

https://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 © 2009-2018, brian d foy <bdfoy@cpan.org>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.