From 55c5cdfa99ab3541735155871c867a14898bb269 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 25 May 2008 17:53:38 +0200 Subject: [PATCH] add synopsis --- ox/imdb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ox/imdb.py b/ox/imdb.py index 38acf67..0fe5dde 100644 --- a/ox/imdb.py +++ b/ox/imdb.py @@ -89,6 +89,8 @@ def getMovieInfo(imdbId): if 'plot' in info: info['plot'] = info['plot'].split('| add synopsis')[0].strip() info['plot'] = info['plot'].split('| full synopsis')[0].strip() + if info['plot'] in ('add synopsis', 'full synopsis'): + info['plot'] = '' #get Title title = ''