brian d foy > HTTP-Cookies-Chrome > HTTP::Cookies::Chrome

Download:
HTTP-Cookies-Chrome-1.001.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.001   Source  

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:

        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-2014 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.

syntax highlighting: