From: Sergey M․ Date: Tue, 1 Mar 2016 17:26:53 +0000 (+0600) Subject: [wistia] Fix extraction (Closes #8707) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=66ca2cfddd840e775f0b810c393a91c55a135c20;p=youtube-dl.git [wistia] Fix extraction (Closes #8707) --- 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'],