[screencastomatic] Remove unused variable
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 17 Dec 2014 13:56:30 +0000 (14:56 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 17 Dec 2014 13:56:30 +0000 (14:56 +0100)
youtube_dl/extractor/screencastomatic.py

index 1dafc4c3190c37f029a5b1798b91c0b98d8f3224..05337421ca4210af5a9a797f22c112bb663a0960 100644 (file)
@@ -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')