From 23ea669b7d200f7a51fab3841141b7a497b055bd Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 18 Oct 2011 14:57:31 +0200 Subject: [PATCH] cleanup summary --- ox/web/imdb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ox/web/imdb.py b/ox/web/imdb.py index 3147e9c..1e7fc49 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -377,6 +377,8 @@ class Imdb(SiteParser): if 'releaseDate' in self: if isinstance(self['releaseDate'], list): self['releaseDate'] = min(self['releaseDate']) + if 'summary' in self: + self['summary'] = self['summary'].split('