There are a couple of problems with tvdb, but I’m not entirely sure this is one of theirs.
When I replace
data = urllib2.urlopen(url, timeout=30).read()
data = requests.get(url).content
the XML files are no longer empty. Don’t forget: