1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 00:37:41 +00:00

[wistia] Fix extraction (Closes #8707)

This commit is contained in:
Sergey M․ 2016-03-01 23:26:53 +06:00
parent 269dd2c6a7
commit 66ca2cfddd

View file

@ -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'],