[ie/youtube] Add extractor arg to skip "initial_data" request (#12865)
Closes https://github.com/yt-dlp/yt-dlp/issues/12826 Authored by: leeblackc
This commit is contained in:
parent
f484c51599
commit
ed6c6d7eef
2 changed files with 2 additions and 2 deletions
|
|
@ -3876,7 +3876,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
if not traverse_obj(initial_data, 'contents'):
|
||||
self.report_warning('Incomplete data received in embedded initial data; re-fetching using API.')
|
||||
initial_data = None
|
||||
if not initial_data:
|
||||
if not initial_data and 'initial_data' not in self._configuration_arg('player_skip'):
|
||||
query = {'videoId': video_id}
|
||||
query.update(self._get_checkok_params())
|
||||
initial_data = self._extract_response(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue