Compare commits

...

3 Commits

Author SHA1 Message Date
Kumar Kriti
fa4c866d25
Merge 65c58ac155c467f228b987b2debe09a9d8bd0b5b into 3eb8d22ddb8982ca4fb56bb7a8d6517538bf14c6 2025-04-01 08:23:09 +02:00
dirkf
3eb8d22ddb
[JSInterp] Temporary fix for #33102 2025-03-31 04:21:09 +01:00
Kumar Kriti
65c58ac155
Update README.MD 2023-01-23 18:38:47 +05:30
2 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@ youtube-dl - download videos from youtube.com or other video platforms
# INSTALLATION
To install it right away for all UNIX users (Linux, macOS, etc.), type:
To install it right away for all UNIX users (Windows,Linux, macOS, etc.), type:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl

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: