mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 22:35:21 +00:00
make SBS API calls use HTTPS instead of just HTTP
This commit is contained in:
parent
608b8a4300
commit
3017e553f4
@ -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 New Issue
Block a user