aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-01 23:26:53 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-01 23:26:53 +0600
commit66ca2cfddd840e775f0b810c393a91c55a135c20 (patch)
treeaae439a526fb6b622f76b9e6add7680bd29bf0ea
parent269dd2c6a789802b3578fabd54e1e7cc5732f551 (diff)
[wistia] Fix extraction (Closes #8707)
-rw-r--r--youtube_dl/extractor/wistia.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/wistia.py b/youtube_dl/extractor/wistia.py
index fdb16d91c..41061dd31 100644
--- a/youtube_dl/extractor/wistia.py
+++ b/youtube_dl/extractor/wistia.py
@@ -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'],