pull/14447/merge
sepro 11 hours ago committed by GitHub
commit 83696563dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2920,7 +2920,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
if player_url and context == _PoTokenContext.GVS and not visitor_data and not self.is_authenticated: if player_url and context == _PoTokenContext.GVS and not visitor_data and not self.is_authenticated:
self.report_warning( self.report_warning(
f'Unable to fetch GVS PO Token for {client} client: Missing required Visitor Data. ' f'Unable to fetch GVS PO Token for {client} client: Missing required Visitor Data. '
f'You may need to pass Visitor Data with --extractor-args "youtube:visitor_data=XXX"') f'You may need to pass Visitor Data with --extractor-args "youtube:visitor_data=XXX"', only_once=True)
return return
if context == _PoTokenContext.PLAYER and not video_id: if context == _PoTokenContext.PLAYER and not video_id:
@ -2943,7 +2943,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
if player_url and context == _PoTokenContext.GVS and not data_sync_id and self.is_authenticated: if player_url and context == _PoTokenContext.GVS and not data_sync_id and self.is_authenticated:
self.report_warning( self.report_warning(
f'Unable to fetch GVS PO Token for {client} client: Missing required Data Sync ID for account. ' f'Unable to fetch GVS PO Token for {client} client: Missing required Data Sync ID for account. '
f'You may need to pass a Data Sync ID with --extractor-args "youtube:data_sync_id=XXX"') f'You may need to pass a Data Sync ID with --extractor-args "youtube:data_sync_id=XXX"', only_once=True)
return return
po_token = self._fetch_po_token( po_token = self._fetch_po_token(

Loading…
Cancel
Save