Mojo::UserAgent::CookieJar::ChromeMacOS - readonly Chrome(MacOSx) cookies for Mojo::UserAgent
use Mojo::UserAgent; use Mojo::UserAgent::CookieJar::ChromeMacOS; my $ua = Mojo::UserAgent->new; $ua->cookie_jar(Mojo::UserAgent::CookieJar::ChromeMacOS->new); # For Linux Mojo::UserAgent::CookieJar::ChromeMacOS->new( file => '~/.config/google-chrome/Default/Cookies', pass => 'peanuts', # hardcode for Linux );
Mojo::UserAgent::CookieJar::ChromeMacOS tries to read the cookie from Chrome on MacOSx.
it would be useful when you need handle tricky logins or captchas.
Fayland Lam <fayland@gmail.com>
Copyright 2016- Fayland Lam
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
HTTP::Cookies::ChromeMacOS
To install Mojo::UserAgent::CookieJar::ChromeMacOS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojo::UserAgent::CookieJar::ChromeMacOS
CPAN shell
perl -MCPAN -e shell install Mojo::UserAgent::CookieJar::ChromeMacOS
For more information on module installation, please visit the detailed CPAN module installation guide.