mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-18 14:08:54 +00:00
jsi pref
This commit is contained in:
@@ -167,7 +167,6 @@ class DenoJSDomJSI(DenoJSI):
|
|||||||
onchange: null,
|
onchange: null,
|
||||||
orientation: {{angle: 0, type: 'landscape-primary', onchange: null}},
|
orientation: {{angle: 0, type: 'landscape-primary', onchange: null}},
|
||||||
pixelDepth: 24,
|
pixelDepth: 24,
|
||||||
width: 1920,
|
|
||||||
}}
|
}}
|
||||||
Object.defineProperty(document.body, 'clientWidth', {{value: 1903}});
|
Object.defineProperty(document.body, 'clientWidth', {{value: 1903}});
|
||||||
Object.defineProperty(document.body, 'clientHeight', {{value: 2000}});
|
Object.defineProperty(document.body, 'clientHeight', {{value: 2000}});
|
||||||
|
|||||||
@@ -1138,6 +1138,13 @@ def create_parser():
|
|||||||
'--sleep-subtitles', metavar='SECONDS',
|
'--sleep-subtitles', metavar='SECONDS',
|
||||||
dest='sleep_interval_subtitles', default=0, type=int,
|
dest='sleep_interval_subtitles', default=0, type=int,
|
||||||
help='Number of seconds to sleep before each subtitle download')
|
help='Number of seconds to sleep before each subtitle download')
|
||||||
|
workarounds.add_option(
|
||||||
|
'--jsi-preference',
|
||||||
|
metavar='JSI', dest='jsi_preference', default=[], type='str', action='callback',
|
||||||
|
callback=_list_from_options_callback,
|
||||||
|
help=(
|
||||||
|
'Preferred JS interpreters to use during extraction. Can be given as comma-separated values.')
|
||||||
|
)
|
||||||
|
|
||||||
verbosity = optparse.OptionGroup(parser, 'Verbosity and Simulation Options')
|
verbosity = optparse.OptionGroup(parser, 'Verbosity and Simulation Options')
|
||||||
verbosity.add_option(
|
verbosity.add_option(
|
||||||
|
|||||||
Reference in New Issue
Block a user