Compare commits

...

3 Commits

Author SHA1 Message Date
dirkf
41f66a2ff3
Merge e0afcbed38c704f0de4a78f79ea79f4e5d5bc0b9 into 3eb8d22ddb8982ca4fb56bb7a8d6517538bf14c6 2025-04-01 09:26:09 +02:00
dirkf
3eb8d22ddb
[JSInterp] Temporary fix for #33102 2025-03-31 04:21:09 +01:00
dirkf
e0afcbed38 Add new test for Groups extractor
Only existing test went private.
2021-09-29 20:56:30 +01:00
2 changed files with 10 additions and 0 deletions

View File

@ -1027,6 +1027,14 @@ class VimeoGroupsIE(VimeoChannelIE):
'title': 'Katty Kay',
},
'playlist_mincount': 27,
'skip': 'login required',
}, {
'url': 'https://vimeo.com/groups/meetup',
'info_dict': {
'id': 'meetup',
'title': 'Vimeo Meetup!',
},
'playlist_mincount': 90,
}]
_BASE_URL_TEMPL = 'https://vimeo.com/groups/%s'

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: