[extractor/iwara] Fix typo

Authored by: Lesmiscore

Closes #6795
This commit is contained in:
Lesmiscore 2023-04-13 16:09:20 +09:00
parent 979568f26e
commit d1483ec693

View File

@ -76,7 +76,7 @@ class IwaraIE(InfoExtractor):
def _real_extract(self, url): def _real_extract(self, url):
video_id = self._match_id(url) video_id = self._match_id(url)
video_data = self._download_json(f'http://api.iwara.tv/video/{video_id}', video_id, expected_status=lambda x: True) video_data = self._download_json(f'https://api.iwara.tv/video/{video_id}', video_id, expected_status=lambda x: True)
errmsg = video_data.get('message') errmsg = video_data.get('message')
# at this point we can actually get uploaded user info, but do we need it? # at this point we can actually get uploaded user info, but do we need it?
if errmsg == 'errors.privateVideo': if errmsg == 'errors.privateVideo':