|
|
@ -458,7 +458,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
|
|
|
'https://%s/youtubei/v1/%s' % (api_hostname or self._get_innertube_host(default_client), ep),
|
|
|
|
'https://%s/youtubei/v1/%s' % (api_hostname or self._get_innertube_host(default_client), ep),
|
|
|
|
video_id=video_id, fatal=fatal, note=note, errnote=errnote,
|
|
|
|
video_id=video_id, fatal=fatal, note=note, errnote=errnote,
|
|
|
|
data=json.dumps(data).encode('utf8'), headers=real_headers,
|
|
|
|
data=json.dumps(data).encode('utf8'), headers=real_headers,
|
|
|
|
query={'key': api_key or self._extract_api_key()})
|
|
|
|
query={'key': api_key or self._extract_api_key(), 'prettyPrint': 'false'})
|
|
|
|
|
|
|
|
|
|
|
|
def extract_yt_initial_data(self, item_id, webpage, fatal=True):
|
|
|
|
def extract_yt_initial_data(self, item_id, webpage, fatal=True):
|
|
|
|
data = self._search_regex(
|
|
|
|
data = self._search_regex(
|
|
|
|