Compare commits

...

3 Commits

Author SHA1 Message Date
Dapo Adedire
e52762993d
Merge 79c14205c2acbf9129f6f3009e4ba8d2bcd4386f into 3eb8d22ddb8982ca4fb56bb7a8d6517538bf14c6 2025-03-31 09:25:32 +02:00
dirkf
3eb8d22ddb
[JSInterp] Temporary fix for #33102 2025-03-31 04:21:09 +01:00
Dapo Adedire
79c14205c2
Fix: fix download command for MacOS 2024-09-10 16:34:08 +01:00
2 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,7 @@ This command will update youtube-dl if you have already installed it. See the [p
macOS users can install youtube-dl with [Homebrew](https://brew.sh/):
brew install youtube-dl
brew install yt-dlp
Or with [MacPorts](https://www.macports.org/):

View File

@ -686,6 +686,8 @@ class JSInterpreter(object):
raise self.Exception('Cannot get index {idx!r:.100}'.format(**locals()), expr=repr(obj), cause=e)
def _dump(self, obj, namespace):
if obj is JS_Undefined:
return 'undefined'
try:
return json.dumps(obj)
except TypeError: