mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-25 07:47:55 +01:00
[wistia] Fix extraction (Closes #8707)
This commit is contained in:
parent
269dd2c6a7
commit
66ca2cfddd
@ -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'],
|
||||||
|
Loading…
Reference in New Issue
Block a user