mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
parent
979568f26e
commit
d1483ec693
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ def _extract_formats(self, video_id, fileurl):
|
||||||
|
|
||||||
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':
|
||||||
|
|
Loading…
Reference in a new issue