lists of lists

This commit is contained in:
j 2018-04-06 14:27:49 +05:30
parent 02345e0d70
commit 12326461c1

View file

@ -200,8 +200,16 @@ class Imdb(SiteParser):
# 'type': 'list' # 'type': 'list'
#}, #},
'runtime': zebra_list('Runtime'), 'runtime': zebra_list('Runtime'),
'color': zebra_list('Color', more=['<a.*?>([^(<]+)', strip_tags]), 'color': zebra_list('Color', more=[
'sound': zebra_list('Sound Mix', more=['<a.*?>([^(<]+)', strip_tags]), '<a.*?>([^(<]+)',
lambda r: r[0] if isinstance(r, list) else r,
strip_tags
]),
'sound': zebra_list('Sound Mix', more=[
'<a.*?>([^(<]+)',
lambda r: r[0] if isinstance(r, list) else r,
strip_tags
]),
'season': { 'season': {
'page': 'reference', 'page': 'reference',
're': [ 're': [