Changeset 1695

Show
Ignore:
Timestamp:
09/21/06 00:33:27
Author:
otsune
Message:

fix follow_link (link of an Amazon top page was changed.)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/CustomFeed/AmazonAssociateReportJP.pm

    r1080 r1695  
    7272        email    => $plugin->conf->{email}, 
    7373        password => $plugin->conf->{password}, 
    74         start_url => 'http://www.amazon.co.jp/', 
     74        start_url => 'http://affiliate.amazon.co.jp/gp/associates/join/main.html', 
    7575    }, $class; 
    7676} 
     
    8181    my $res = $mech->get($self->start_url); 
    8282    return unless $mech->success; 
    83     $mech->follow_link(url_regex => qr!associates/join/main\.html!); 
    8483    $mech->follow_link(url_regex => qr!associates/login/login\.html!); 
    8584    $mech->form_number(1);