Skip to content

Commit

Permalink
Tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
urectanc committed Jun 27, 2023
1 parent 106928a commit b1c6741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/stacommu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down
2 changes: 1 addition & 1 deletion yt_dlp/extractor/wrestleuniverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b1c6741

Please sign in to comment.