Changeset 115
- Timestamp:
- 02/23/06 07:10:12
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/Subscription/HatenaRSS.pm
r110 r115 17 17 my($self, $context) = @_; 18 18 19 my $username = $self->conf->{username} 20 or $context->error('username is missing'); 21 19 22 my $start = "https://www.hatena.ne.jp/login?backurl=http%3A%2F%2Fr.hatena.ne.jp%2F"; 20 23 … … 25 28 $mech->submit_form( 26 29 fields => { 27 key => $ self->conf->{username},30 key => $username, 28 31 password => $self->conf->{password}, 29 32 }, … … 36 39 $context->log(info => "Login to HatenaRSS succeed."); 37 40 38 $mech->get("http://r.hatena.ne.jp/ miyagawa/config");41 $mech->get("http://r.hatena.ne.jp/$username/config"); 39 42 $mech->submit_form(form_name => 'opmlexport'); 40 43
