remove quotes

This commit is contained in:
j 2011-08-10 16:16:04 +02:00
parent 87877ff64a
commit a691759a12

View file

@ -273,8 +273,9 @@ class Imdb(SiteParser):
self['title'] = self.get('english_title', self['original_title'])
if 'title' in self and self['title'].startswith('"') and self['title'].endswith('"'):
self['title'] = self['title'][1:-1]
for t in ('title', 'english_title', 'original_title'):
if t in self and self[t].startswith('"') and self[t].endswith('"'):
self[t] = self[t][1:-1]
if 'alternative_titles' in self:
self['alternative_titles'] = [[t[0],