2018-05-22, 13:35
python:
items = [{
'label': re.sub('\([ 0-9]*?\)', '', video['title']),
'thumbnail': video['cover'].replace(' ', '%20'),
'cover': video['cover'].replace(' ', '%20'),
'fanart': video['cover'].replace(' ', '%20'),
'thumb': video['cover'].replace(' ', '%20'),
'poster': video['cover'].replace(' ', '%20'),
'info': {
'originaltitle': video['title'],
'tagline': video['collection'],
'plot': video['plot'],
'year': int(video['year']),
'cast': video['cast'].replace(', ', ',').split(','),
'director': video['director'],
'rating': float(video['rating']),
'votes': video['votes'],
'genre': scraper.__resolve_categories(video['categories'])
},
'id': video['id'],
} for video in items]
This is the code we're using and the posters still don't show up