[ceskatelevize] Use https for API call (refs #16997)

This commit is contained in:
bato3 2018-07-29 01:04:59 +02:00 committed by Sergey M
parent 38e87f6c2a
commit 1a88fc5a69

View file

@ -108,7 +108,7 @@ def _real_extract(self, url):
for user_agent in (None, USER_AGENTS['Safari']): for user_agent in (None, USER_AGENTS['Safari']):
req = sanitized_Request( req = sanitized_Request(
'http://www.ceskatelevize.cz/ivysilani/ajax/get-client-playlist', 'https://www.ceskatelevize.cz/ivysilani/ajax/get-client-playlist',
data=urlencode_postdata(data)) data=urlencode_postdata(data))
req.add_header('Content-type', 'application/x-www-form-urlencoded') req.add_header('Content-type', 'application/x-www-form-urlencoded')