add synopsis

This commit is contained in:
j 2008-05-25 17:53:38 +02:00
parent e268ff3926
commit 55c5cdfa99
1 changed files with 2 additions and 0 deletions

View File

@ -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 = ''