0
0
Fork 0

[wistia] Fix extraction (Closes #8707)

main
Sergey M․ 2016-03-01 23:26:53 +06:00
parent 269dd2c6a7
commit 66ca2cfddd
1 changed files with 2 additions and 1 deletions

View File

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