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
1 changed files with 1 additions and 1 deletions

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