use imdbId
This commit is contained in:
parent
dfa46712a8
commit
4f3c212072
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ def render_poster(data, poster):
|
||||||
year = str(data.get('year', ''))
|
year = str(data.get('year', ''))
|
||||||
duration = data.get('duration')
|
duration = data.get('duration')
|
||||||
oxdb_id = data['oxdbId']
|
oxdb_id = data['oxdbId']
|
||||||
id = data['id']
|
id = data.get('imdbId', data['id'])
|
||||||
frame = data.get('frame')
|
frame = data.get('frame')
|
||||||
timeline = data.get('timeline')
|
timeline = data.get('timeline')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue