aspect
This commit is contained in:
parent
133262ba5b
commit
4d9f9ddcc7
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class Imdb(SiteParser):
|
||||||
'page': 'reference',
|
'page': 'reference',
|
||||||
're': [
|
're': [
|
||||||
'Aspect Ratio</td>.*?ipl-inline-list__item">\s+([\d\.\:]+)',
|
'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',
|
'type': 'float',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue