remove quotes
This commit is contained in:
parent
87877ff64a
commit
a691759a12
1 changed files with 3 additions and 2 deletions
|
@ -273,8 +273,9 @@ class Imdb(SiteParser):
|
||||||
|
|
||||||
self['title'] = self.get('english_title', self['original_title'])
|
self['title'] = self.get('english_title', self['original_title'])
|
||||||
|
|
||||||
if 'title' in self and self['title'].startswith('"') and self['title'].endswith('"'):
|
for t in ('title', 'english_title', 'original_title'):
|
||||||
self['title'] = self['title'][1:-1]
|
if t in self and self[t].startswith('"') and self[t].endswith('"'):
|
||||||
|
self[t] = self[t][1:-1]
|
||||||
|
|
||||||
if 'alternative_titles' in self:
|
if 'alternative_titles' in self:
|
||||||
self['alternative_titles'] = [[t[0],
|
self['alternative_titles'] = [[t[0],
|
||||||
|
|
Loading…
Reference in a new issue