From ba6ee2e62eaf8142f9a7f819a10bf6b6d4f17de0 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 23 Jul 2013 14:54:32 +0200 Subject: [PATCH] make sound unique --- ox/web/imdb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ox/web/imdb.py b/ox/web/imdb.py index 89b3c0d..8469e9c 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -333,6 +333,9 @@ class Imdb(SiteParser): if 'country' in self: self['country'] = [normalize_country_name(c) or c for c in self['country']] + if 'sound' in self: + self['sound'] = list(set(self['sound'])) + types = {} stop_words = [ 'alternative spelling',