Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: plugins/ActionStreams/lib/ActionStreams/Event.pm
- ===================================================================
- --- plugins/ActionStreams/lib/ActionStreams/Event.pm (revision 632)
- +++ plugins/ActionStreams/lib/ActionStreams/Event.pm (working copy)
- @@ -4,7 +4,6 @@
- use strict;
- use base qw( MT::Object MT::Taggable MT::Scorable );
- our @EXPORT_OK = qw( classes_for_type );
- -use Web::Scraper;
- use HTTP::Date qw( str2time );
- our $hide_if_first_update = 0;
- @@ -116,6 +115,7 @@
- }
- }
- elsif (my $scraper_params = $stream->{scraper}) {
- + require Web::Scraper;
- my ($foreach, $get) = @$scraper_params{qw( foreach get )};
- my $scraper = scraper {
- process $foreach, 'res[]' => scraper {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement