def find_hls_url(self, playlist):
for video in playlist:
if video["type"] == "program":
- return video["hls-high"]
+ return video["hls-high"].replace("http:", "https:")
raise Exception("Missing hls-high program stream for " + self.video_key)
def get_auth_details(self):