From 3017e553f4a9be0799eaa662e6b0b42b0ce6450d Mon Sep 17 00:00:00 2001 From: Benjamin Rumble Date: Tue, 23 Jul 2019 16:15:06 -0400 Subject: [PATCH] make SBS API calls use HTTPS instead of just HTTP --- youtube_dl/extractor/sbs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/sbs.py b/youtube_dl/extractor/sbs.py index 0e623ff7b..e4343a7ee 100644 --- a/youtube_dl/extractor/sbs.py +++ b/youtube_dl/extractor/sbs.py @@ -39,7 +39,7 @@ class SBSIE(InfoExtractor): def _real_extract(self, url): video_id = self._match_id(url) 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') if error: