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