Bandcamp channel extractor: enforce https when getting banner url
This commit is contained in:
parent
a42c77425d
commit
7730eb2ea1
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue