From 9ba1c4353f89508692108988050fd31b2b3cd9c5 Mon Sep 17 00:00:00 2001 From: pidoubleyou Date: Thu, 26 Sep 2024 22:40:24 +0200 Subject: [PATCH] change http-urls to https --- .../java/mServer/crawler/sender/arte/ArteVideoDeserializer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/mServer/crawler/sender/arte/ArteVideoDeserializer.java b/src/main/java/mServer/crawler/sender/arte/ArteVideoDeserializer.java index 238b78d08..a36d5a9eb 100644 --- a/src/main/java/mServer/crawler/sender/arte/ArteVideoDeserializer.java +++ b/src/main/java/mServer/crawler/sender/arte/ArteVideoDeserializer.java @@ -40,7 +40,7 @@ public ArteVideoDTO deserialize( final String code = value.get(ATTRIBUTE_VERSION_CODE).getAsString(); final String quality = value.get(ATTRIBUTE_QUALITY).getAsString(); - final String url = value.get(ATTRIBUTE_URL).getAsString(); + final String url = value.get(ATTRIBUTE_URL).getAsString().replace("http://", "https://"); final Optional resolution = mapQuality(quality); final Optional arteVideoType = ArteVideoTypeMapper.map(sender, code);