fix single genre

This commit is contained in:
j 2018-01-14 18:45:52 +01:00
parent 48cc9aa541
commit da379a9c6c

View file

@ -139,7 +139,7 @@ class Imdb(SiteParser):
],
'type': 'list'
},
'genre': zebra_list('Genres', more=['<a.*?>(.*?)</a>', lambda x: x[0]]),
'genre': zebra_list('Genres', more=['<a.*?>(.*?)</a>']),
'gross': zebra_table('Cumulative Worldwide Gross', more=[
lambda data: find_re(decode_html(data).replace(',', ''), '\d+')
], type='int'),