[cineoob] give roles informations in persons_in_common and movies_in_common, imdb and allocine adapted
This commit is contained in:
parent
372da14347
commit
f87a8a685f
5 changed files with 49 additions and 7 deletions
|
|
@ -157,7 +157,7 @@ class ImdbBrowser(Browser):
|
|||
note = u'%s/10 (%s votes)' % (jres['imdbRating'], jres['imdbVotes'])
|
||||
for r in ['Actors', 'Director', 'Writer']:
|
||||
if '%s' % r in jres.keys():
|
||||
roles['%s' % r] = jres['%s' % r].split(', ')
|
||||
roles['%s' % r] = [('N/A',e) for e in jres['%s' % r].split(', ')]
|
||||
|
||||
movie = Movie(id, title)
|
||||
movie.other_titles = other_titles
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue