From 3ac05fb006b751244a1d9c96dc7fe50fafed5184 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 13 Nov 2017 23:04:45 +0100 Subject: [PATCH] Use secure_base_url configuration parameter @see https://www.filebot.net/forums/viewtopic.php?f=6&t=5479 --- source/net/filebot/web/TMDbClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/filebot/web/TMDbClient.java b/source/net/filebot/web/TMDbClient.java index 7e108f9f..24bc57a6 100644 --- a/source/net/filebot/web/TMDbClient.java +++ b/source/net/filebot/web/TMDbClient.java @@ -308,8 +308,8 @@ public class TMDbClient implements MovieIdentificationService, ArtworkProvider { } try { - String mirror = (String) Cache.getCache(getName(), CacheType.Monthly).computeIfAbsent("configuration.base_url", it -> { - return getString(getMap(getConfiguration(), "images"), "base_url"); + String mirror = (String) Cache.getCache(getName(), CacheType.Monthly).computeIfAbsent("configuration.secure_base_url", it -> { + return getString(getMap(getConfiguration(), "images"), "secure_base_url"); }); return new URL(mirror + "original" + path); } catch (Exception e) {