Browse Source

[wistia] Fix extraction (Closes #8707)

totalwebcasting
Sergey M․ 9 years ago
parent
commit
66ca2cfddd
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/wistia.py

+ 2
- 1
youtube_dl/extractor/wistia.py 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'],


Loading…
Cancel
Save