es
use base qw(Labyrinth::Plugin::Base);
use Labyrinth::Support;
use Labyrinth::Variables;
use JSON;
use WWW::Mechanize;
#--------------------------------------------------------------------------
;
return if($@ || !$mech->success() || !$mech->content());
my $json = $mech->content();
my $data = decode_json($json);
return unless($data);
$tvars{sponsor} = {
title =>