add synopsis
This commit is contained in:
parent
e268ff3926
commit
55c5cdfa99
1 changed files with 2 additions and 0 deletions
|
@ -89,6 +89,8 @@ def getMovieInfo(imdbId):
|
||||||
if 'plot' in info:
|
if 'plot' in info:
|
||||||
info['plot'] = info['plot'].split('| add synopsis')[0].strip()
|
info['plot'] = info['plot'].split('| add synopsis')[0].strip()
|
||||||
info['plot'] = info['plot'].split('| full synopsis')[0].strip()
|
info['plot'] = info['plot'].split('| full synopsis')[0].strip()
|
||||||
|
if info['plot'] in ('add synopsis', 'full synopsis'):
|
||||||
|
info['plot'] = ''
|
||||||
|
|
||||||
#get Title
|
#get Title
|
||||||
title = ''
|
title = ''
|
||||||
|
|
Loading…
Reference in a new issue