Skip to content

Commit

Permalink
[extractor/iwara] Fix typo
Browse files Browse the repository at this point in the history
Authored by: Lesmiscore

Closes yt-dlp#6795
  • Loading branch information
Lesmiscore committed Apr 13, 2023
1 parent 979568f commit d1483ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/iwara.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _extract_formats(self, video_id, fileurl):

def _real_extract(self, 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')
# at this point we can actually get uploaded user info, but do we need it?
if errmsg == 'errors.privateVideo':
Expand Down

0 comments on commit d1483ec

Please sign in to comment.