mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-28 21:22:13 +00:00
make SBS API calls use HTTPS instead of just HTTP
This commit is contained in:
parent
608b8a4300
commit
3017e553f4
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class SBSIE(InfoExtractor):
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
player_params = self._download_json(
|
player_params = self._download_json(
|
||||||
'http://www.sbs.com.au/api/video_pdkvars/id/%s?form=json' % video_id, video_id)
|
'https://www.sbs.com.au/api/video_pdkvars/id/%s?form=json' % video_id, video_id)
|
||||||
|
|
||||||
error = player_params.get('error')
|
error = player_params.get('error')
|
||||||
if error:
|
if error:
|
||||||
|
|
Loading…
Reference in a new issue