mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-18 23:25:42 +07:00
[wistia] Fix extraction (Closes #8707)
This commit is contained in:
@@ -35,7 +35,8 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
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'],
|
||||||
|
|||||||
Reference in New Issue
Block a user