From e54a3a2f01d2dec2c1d65d3064dd35e7e62cbf40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Wed, 17 Dec 2014 14:56:30 +0100 Subject: [PATCH] [screencastomatic] Remove unused variable --- youtube_dl/extractor/screencastomatic.py | 1 - 1 file changed, 1 deletion(-) diff --git a/youtube_dl/extractor/screencastomatic.py b/youtube_dl/extractor/screencastomatic.py index 1dafc4c31..05337421c 100644 --- a/youtube_dl/extractor/screencastomatic.py +++ b/youtube_dl/extractor/screencastomatic.py @@ -31,7 +31,6 @@ class ScreencastOMaticIE(InfoExtractor): r"(?s)jwplayer\('mp4Player'\).setup\((\{.*?\})\);", webpage, 'setup code') data = self._parse_json(setup_js, video_id, transform_source=js_to_json) - modes = data['modes'] try: video_data = next( m for m in data['modes'] if m.get('type') == 'html5')