[wistia] Fix extraction (Closes #8707)

pull/2/head
Sergey M․ 9 years ago
parent 269dd2c6a7
commit 66ca2cfddd

@ -35,7 +35,8 @@ class WistiaIE(InfoExtractor):
formats = []
thumbnails = []
for atype, a in data['assets'].items():
for a in data['assets']:
atype = a.get('type')
if atype == 'still':
thumbnails.append({
'url': a['url'],

Loading…
Cancel
Save