Bandcamp channel extractor: enforce https when getting banner url

This commit is contained in:
Fynn Godau 2019-12-22 00:46:31 +01:00
parent a42c77425d
commit 7730eb2ea1

View file

@ -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")