Bandcamp: Implement new methods required due to interface changes

This commit is contained in:
Fynn Godau 2020-06-03 21:35:11 +02:00
parent dd955c7f0c
commit 9fa9d920a9
4 changed files with 56 additions and 0 deletions

View File

@ -76,6 +76,21 @@ public class BandcampChannelExtractor extends ChannelExtractor {
return channelInfo.getString("bio");
}
@Override
public String getParentChannelName() {
return null;
}
@Override
public String getParentChannelUrl() {
return null;
}
@Override
public String getParentChannelAvatarUrl() {
return null;
}
@Nonnull
@Override
public InfoItemsPage<StreamInfoItem> getInitialPage() throws ParsingException {

View File

@ -101,6 +101,24 @@ public class BandcampPlaylistExtractor extends PlaylistExtractor {
return trackInfo.size();
}
@Nonnull
@Override
public String getSubChannelName() {
return "";
}
@Nonnull
@Override
public String getSubChannelUrl() {
return "";
}
@Nonnull
@Override
public String getSubChannelAvatarUrl() {
return "";
}
@Nonnull
@Override
public InfoItemsPage<StreamInfoItem> getInitialPage() throws ExtractionException {

View File

@ -30,6 +30,11 @@ public class BandcampSearchExtractor extends SearchExtractor {
return null;
}
@Override
public boolean isCorrectedSearch() {
return false;
}
@Override
public InfoItemsPage<InfoItem> getPage(String pageUrl) throws IOException, ExtractionException {
// okay apparently this is where we DOWNLOAD the page and then COMMIT its ENTRIES to an INFOITEMPAGE

View File

@ -122,6 +122,24 @@ public class BandcampStreamExtractor extends StreamExtractor {
}
}
@Nonnull
@Override
public String getSubChannelUrl() {
return "";
}
@Nonnull
@Override
public String getSubChannelName() {
return "";
}
@Nonnull
@Override
public String getSubChannelAvatarUrl() {
return "";
}
@Nonnull
@Override
public Description getDescription() {