mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-22 06:00:00 +00:00
[wistia] Fix extraction (Closes #8707)
This commit is contained in:
parent
269dd2c6a7
commit
66ca2cfddd
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ def _real_extract(self, url):
|
|||
|
||||
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…
Reference in a new issue