1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-07-21 04:33:16 +02:00

[screencastomatic] Remove unused variable

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-12-17 14:56:30 +01:00
parent 0e4cb4f406
commit e54a3a2f01

View File

@ -31,7 +31,6 @@ def _real_extract(self, url):
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')