2011-04-09, 12:16
mythicalLibrarian hasn't been working for me today.
I had a poke around today and it was the communication with thetvdb.com that was failing as it was getting back a 301 redirect when trying to get the series information:
curl can follow 301 redirects if you add -L to it's command line. I've added -L to all the curl calls to thetvdb.com api and all appears to be working well again now.
Not sure if anybody else is seeing this problem, but hopefully helps somebody.
I had a poke around today and it was the communication with thetvdb.com that was failing as it was getting back a 301 redirect when trying to get the series information:
Code:
curl -s -m50 'www.thetvdb.com/api/GetSeries.php?seriesname=mister%20rogers'
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
curl can follow 301 redirects if you add -L to it's command line. I've added -L to all the curl calls to thetvdb.com api and all appears to be working well again now.
Not sure if anybody else is seeing this problem, but hopefully helps somebody.