This commit is contained in:
j 2018-01-29 09:15:19 +01:00
parent 133262ba5b
commit 4d9f9ddcc7

View file

@ -94,7 +94,7 @@ class Imdb(SiteParser):
'page': 'reference',
're': [
'Aspect Ratio</td>.*?ipl-inline-list__item">\s+([\d\.\:]+)',
lambda r: str(int(r.split(':')[0])/int(r.split(':')[1])) if ':' in r else r,
lambda r: str(float(r.split(':')[0])/float(r.split(':')[1])) if ':' in r else r,
],
'type': 'float',
},