|
|
@ -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':
|
|
|
|