Created
April 21, 2010 02:53
-
-
Save nipotan/373357 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
--- Mech.pm 2009-07-28 21:07:16.000000000 +0900 | |
+++ Mech.pm 2010-04-21 11:49:12.000000000 +0900 | |
@@ -75,7 +75,7 @@ | |
$self->{mech}->get($uri); | |
# adapted from Plagger::Plugin::CustomFeed::Mixi | |
- if ( $self->content =~ /action="\/?login\.pl"/ ) { | |
+ if ( $self->content =~ /action="\/?login\.pl/ ) { | |
# shouldn't be path but path_query, obviously | |
$self->{login}->{next_url} = $uri->path_query; | |
$self->login; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment