mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-07-18 01:14:14 +09:00
Merge branch 'master' into df-yt-update202503
This commit is contained in:
commit
e5a0422f8d
@ -501,6 +501,7 @@ class TestJSInterpreter(unittest.TestCase):
|
|||||||
self._test('function f(){return 0.0 << NaN}', 0)
|
self._test('function f(){return 0.0 << NaN}', 0)
|
||||||
self._test('function f(){return null << undefined}', 0)
|
self._test('function f(){return null << undefined}', 0)
|
||||||
|
|
||||||
|
|
||||||
def test_negative(self):
|
def test_negative(self):
|
||||||
self._test('function f(){return 2 * -2.0 ;}', -4)
|
self._test('function f(){return 2 * -2.0 ;}', -4)
|
||||||
self._test('function f(){return 2 - - -2 ;}', 0)
|
self._test('function f(){return 2 - - -2 ;}', 0)
|
||||||
|
@ -3316,7 +3316,7 @@ class YoutubeTabIE(YoutubeBaseInfoExtractor):
|
|||||||
return
|
return
|
||||||
return merge_dicts(self.url_result(
|
return merge_dicts(self.url_result(
|
||||||
update_url_query('https://www.youtube.com/playlist', {'list': content_id}),
|
update_url_query('https://www.youtube.com/playlist', {'list': content_id}),
|
||||||
ie=YoutubeTabIE, video_id=content_id), {
|
ie=YoutubeTabIE.ie_key(), video_id=content_id), {
|
||||||
'title': traverse_obj(view_model, (
|
'title': traverse_obj(view_model, (
|
||||||
'metadata', 'lockupMetadataViewModel', 'title', 'content', T(compat_str))),
|
'metadata', 'lockupMetadataViewModel', 'title', 'content', T(compat_str))),
|
||||||
'thumbnails': self._extract_thumbnails(view_model, (
|
'thumbnails': self._extract_thumbnails(view_model, (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user