From 7730eb2ea13011b275296d24469623709c08f1f8 Mon Sep 17 00:00:00 2001 From: Fynn Godau Date: Sun, 22 Dec 2019 00:46:31 +0100 Subject: [PATCH] Bandcamp channel extractor: enforce https when getting banner url --- .../services/bandcamp/extractors/BandcampChannelExtractor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampChannelExtractor.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampChannelExtractor.java index bb39ca1d0..1c6de58bb 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampChannelExtractor.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/bandcamp/extractors/BandcampChannelExtractor.java @@ -71,7 +71,7 @@ public class BandcampChannelExtractor extends ChannelExtractor { @Override public String getBannerUrl() throws ParsingException { try { - String html = getDownloader().get(channelInfo.getString("bandcamp_url")) + String html = getDownloader().get(channelInfo.getString("bandcamp_url").replace("http://", "https://")) .responseBody(); return new Document(html).getElementById("customHeader")