diff --git a/ox/web/imdb.py b/ox/web/imdb.py index 1c5c9d3..c8e909b 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -94,7 +94,7 @@ class Imdb(SiteParser): 'page': 'reference', 're': [ 'Aspect Ratio.*?ipl-inline-list__item">\s+([\d\.\:\ ]+)', - lambda r: str(float(r.split(':')[0])/float(r.split(':')[1])) if ':' in r else r, + lambda r: str(float(r.split(':')[0])/float(r.split(':')[1].split(' ')[0])) if ':' in r else r, ], 'type': 'float', },