Use https for themoviedb
This commit is contained in:
parent
3817e6afb8
commit
f4507a3630
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue