-
-
Save psandin/bf10abca6cec45b1261a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $tx = $ua->post($login_url => form => {email => $user,password => $pass}); | |
die "failed to login" unless $tx->success; | |
die "No session cookie set" unless $ua->cookie_jar->all; | |
$tx = $ua->get($search_base . $search_term); | |
die "no cookies sent" unless @{$tx->req->cookies}; | |
die "no results :(" unless $tx->success; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment