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

David myth at dgreaves.com
Wed Jun 30 12:18:02 EDT 2004


Stephen Tait wrote:

>>
>> wget -d 'http://www.imdb.com/find?;q=akira' -O - | wc
>>
>> David
>
>
> Aye, already tried wget. Quelle suprise, host not found, word count 
> therefore zero. This is *really* confusing. Browsing the site is 
> *perfect* under links2 from the exact same machine. Utterly mind 
> boggled. All I can assume is that they're blocking unrecognised user 
> agents


No they're not
wget and perl LWP retrieve the page correctly.
I'm now pretty sure you have a resolv problem.

I wouldn't (yet) bother with Dan's (useful) CPAN suggestion - I don't 
think that's your problem.

for now do this as root:
 cp /etc/hosts /etc/hosts.safe
 echo 207.171.166.140 www.imdb.com >> /etc/hosts

make sure there are 2 >> signs ;)

Then try perl and wgt again.

FYI I've been having intermittent problems with name resolution for a 
couple of weeks with Freeserve (or whatever name they're now using ;) )

David
(UK - Reading)



More information about the mythtv-users mailing list