Use https for themoviedb

This commit is contained in:
tomkat83 2017-05-31 10:05:50 +02:00
parent 0fd4a641ad
commit 3817e6afb8

View file

@ -1910,7 +1910,7 @@ class API():
# if the title has the year in remove it as tmdb cannot deal with it... # if the title has the year in remove it as tmdb cannot deal with it...
# replace e.g. 'The Americans (2015)' with 'The Americans' # replace e.g. 'The Americans (2015)' with 'The Americans'
title = sub(r'\s*\(\d{4}\)$', '', title, count=1) title = sub(r'\s*\(\d{4}\)$', '', title, count=1)
url = 'http://api.themoviedb.org/3/search/%s' % media_type url = 'https://api.themoviedb.org/3/search/%s' % media_type
parameters = { parameters = {
'api_key': apiKey, 'api_key': apiKey,
'language': v.KODILANGUAGE, 'language': v.KODILANGUAGE,