parent
1cddfdc52b
commit
8f53dc44a0
6 changed files with 287 additions and 125 deletions
|
|
@ -2653,7 +2653,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
if self.get_param('youtube_print_sig_code'):
|
||||
self.to_screen(f'Extracted nsig function from {player_id}:\n{func_code[1]}\n')
|
||||
|
||||
return lambda s: jsi.extract_function_from_code(*func_code)([s])
|
||||
func = jsi.extract_function_from_code(*func_code)
|
||||
return lambda s: func([s])
|
||||
|
||||
def _extract_signature_timestamp(self, video_id, player_url, ytcfg=None, fatal=False):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue