aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/screencastomatic.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-12-17 14:56:30 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-12-17 14:56:30 +0100
commite54a3a2f01d2dec2c1d65d3064dd35e7e62cbf40 (patch)
tree06460f60ce07cf89d3c92ab08858bb51f4bf3565 /youtube_dl/extractor/screencastomatic.py
parent0e4cb4f406337d3b8879cabb556bde1ec6742b74 (diff)
[screencastomatic] Remove unused variable
Diffstat (limited to 'youtube_dl/extractor/screencastomatic.py')
-rw-r--r--youtube_dl/extractor/screencastomatic.py1
1 files changed, 0 insertions, 1 deletions
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')