[mythtv-users] Mythvideo/IMDB script not working [Bump]

David myth at dgreaves.com
Wed Jun 30 10:50:54 EDT 2004


Stephen Tait wrote:

>
> Bingo.
>
> banquo root # perl -e'use LWP::Debug qw(+);use LWP::UserAgent;$ua = 
> LWP::UserAnew;my $req = 
> HTTP::Request->new(GET=>"http://www.imdb.com/find?;q=akira");my $res = 
> $ua->request($req);print $res->status_line,"\n";'
> Can't locate object method "request" via package 

This

> "LWP::UserAnew"

is a typo

> Cheers David, you're a star! I'm afraid I gave away my prize 
> strawberry jam to Michael yesterday, for his ALSA knowledge, but I can 
> probably get a hold of some  Bavarian blueberry muffins if you give me 
> a week or two.

Since I have no scruples I'll take the muffins - mmmmm

>
> Note To Self: Learn PERL, damnit!

Indeed - perl rules

But..
I think something went wrong with my cut'n'paste.
I meant to type:

perl -e'use LWP::Debug qw(+);use LWP::UserAgent;$ua = 
LWP::UserAgent->new;my $req = 
HTTP::Request->new(GET=>"http://www.imdb.com/find?;q=akira");my $res = 
$ua->request($req);print $res->status_line,"\n";'

David



More information about the mythtv-users mailing list