fix aspectratio parsing
This commit is contained in:
parent
12326461c1
commit
09b3779c47
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class Imdb(SiteParser):
|
|||
'aspectratio': {
|
||||
'page': 'reference',
|
||||
're': [
|
||||
'Aspect Ratio</td>.*?ipl-inline-list__item">\s+([\d\.\:]+)',
|
||||
'Aspect Ratio</td>.*?ipl-inline-list__item">\s+([\d\.\:\ ]+)',
|
||||
lambda r: str(float(r.split(':')[0])/float(r.split(':')[1])) if ':' in r else r,
|
||||
],
|
||||
'type': 'float',
|
||||
|
|
Loading…
Reference in a new issue