diff --git a/ox/web/imdb.py b/ox/web/imdb.py index a621471..4fb983b 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -198,7 +198,7 @@ class Imdb(SiteParser): #}, 'runtime': zebra_list('Runtime'), 'color': zebra_list('Color', more=['(.*?)']), - 'sound': zebra_list('Sound Mix', more=['(.*?)', lambda x: x[0]]), + 'sound': zebra_list('Sound Mix', more=['(.*?)']), 'season': { 'page': 'reference', @@ -289,7 +289,7 @@ class Imdb(SiteParser): isinstance(self['alternativeTitles'][0], string_types): self['alternativeTitles'] = [self['alternativeTitles']] - for key in ('country', 'genre', 'language'): + for key in ('country', 'genre', 'language', 'sound'): if key in self: self[key] = [x[0] if len(x) == 1 and isinstance(x, list) else x for x in self[key]] self[key] = list(filter(lambda x: x.lower() != 'home', self[key]))