Changeset 1374

Show
Ignore:
Timestamp:
08/18/06 02:04:27
Author:
miyagawa
Message:

Filter::Delicious: use lighter URL

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Filter/Delicious.pm

    r1373 r1374  
    2626    $self->log(info => "Going to fetch $url"); 
    2727 
    28     my $ua = Plagger::UserAgent->new; 
    29        $ua->timeout(30); 
    30  
    31     my $res  = $ua->fetch($url); 
     28    my $ua  = Plagger::UserAgent->new; 
     29    my $res = $ua->fetch($url); 
    3230 
    3331    if ($res->is_error) { 
  • trunk/plagger/t/plugins/Filter-Delicious/scrape.t

    r1373 r1374  
    1414  cache: 
    1515    class: Plagger::Cache::Null 
     16  user_agent: 
     17    timeout: 30 
    1618plugins: 
    1719  - module: CustomFeed::Debug 
     
    2022      entry: 
    2123        - title: bar 
    22           link: http://del.icio.us
     24          link: http://bentrecords.blogspot.com
    2325  - module: Filter::Delicious 
    2426    config: