From b1c67413f6a9855ed186b9943bc4463dc522d29b Mon Sep 17 00:00:00 2001 From: urectanc Date: Tue, 27 Jun 2023 22:36:42 +0900 Subject: [PATCH] Tiny fix --- yt_dlp/extractor/stacommu.py | 2 +- yt_dlp/extractor/wrestleuniverse.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/stacommu.py b/yt_dlp/extractor/stacommu.py index 6020e85edc9..7bcc65bc69c 100644 --- a/yt_dlp/extractor/stacommu.py +++ b/yt_dlp/extractor/stacommu.py @@ -126,7 +126,7 @@ class StacommuLiveIE(StacommuBaseIE): def _real_extract(self, url): video_id = self._match_id(url) - video_info = self._call_api(video_id, msg='video information', auth=False) + video_info = self._call_api(video_id, msg='video information', query={'al': 'ja'}, auth=False) hls_info, decrypt = self._call_encrypted_api( video_id, ':watchArchive', 'stream information', data={'method': 1}) diff --git a/yt_dlp/extractor/wrestleuniverse.py b/yt_dlp/extractor/wrestleuniverse.py index a3c182f45a6..1872843069c 100644 --- a/yt_dlp/extractor/wrestleuniverse.py +++ b/yt_dlp/extractor/wrestleuniverse.py @@ -143,7 +143,7 @@ def decrypt(data): return api_json, decrypt def _download_metadata(self, url, video_id, lang, props_keys): - metadata = self._call_api(video_id, msg='metadata', query={'al': lang or 'ja'}, auth=False, fatal=False) + metadata = self._call_api(video_id, msg='video information', query={'al': lang or 'ja'}, auth=False, fatal=False) if not metadata: webpage = self._download_webpage(url, video_id) nextjs_data = self._search_nextjs_data(webpage, video_id)