mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-23 00:07:49 +00:00
[screencastomatic] Remove unused variable
This commit is contained in:
parent
0e4cb4f406
commit
e54a3a2f01
1 changed files with 0 additions and 1 deletions
|
@ -31,7 +31,6 @@ class ScreencastOMaticIE(InfoExtractor):
|
||||||
r"(?s)jwplayer\('mp4Player'\).setup\((\{.*?\})\);",
|
r"(?s)jwplayer\('mp4Player'\).setup\((\{.*?\})\);",
|
||||||
webpage, 'setup code')
|
webpage, 'setup code')
|
||||||
data = self._parse_json(setup_js, video_id, transform_source=js_to_json)
|
data = self._parse_json(setup_js, video_id, transform_source=js_to_json)
|
||||||
modes = data['modes']
|
|
||||||
try:
|
try:
|
||||||
video_data = next(
|
video_data = next(
|
||||||
m for m in data['modes'] if m.get('type') == 'html5')
|
m for m in data['modes'] if m.get('type') == 'html5')
|
||||||
|
|
Loading…
Reference in a new issue