Use https for themoviedb

This commit is contained in:
tomkat83 2017-05-31 10:10:54 +02:00
parent 3817e6afb8
commit f4507a3630

View file

@ -2002,10 +2002,10 @@ class API():
for language in [v.KODILANGUAGE, "en"]: for language in [v.KODILANGUAGE, "en"]:
parameters['language'] = language parameters['language'] = language
if media_type == "movie": if media_type == "movie":
url = 'http://api.themoviedb.org/3/movie/%s' % tmdbId url = 'https://api.themoviedb.org/3/movie/%s' % tmdbId
parameters['append_to_response'] = 'videos' parameters['append_to_response'] = 'videos'
elif media_type == "tv": elif media_type == "tv":
url = 'http://api.themoviedb.org/3/tv/%s' % tmdbId url = 'https://api.themoviedb.org/3/tv/%s' % tmdbId
parameters['append_to_response'] = 'external_ids,videos' parameters['append_to_response'] = 'external_ids,videos'
data = DownloadUtils().downloadUrl( data = DownloadUtils().downloadUrl(
url, url,