32 lines
1.1 KiB
Java
32 lines
1.1 KiB
Java
package org.schabi.newpipe.extractor.playlist;
|
|
|
|
import org.schabi.newpipe.extractor.ListExtractor;
|
|
import org.schabi.newpipe.extractor.StreamingService;
|
|
import org.schabi.newpipe.extractor.UrlIdHandler;
|
|
import org.schabi.newpipe.extractor.exceptions.ParsingException;
|
|
import org.schabi.newpipe.extractor.stream.StreamInfoItem;
|
|
|
|
import javax.annotation.Nonnull;
|
|
|
|
public abstract class PlaylistExtractor extends ListExtractor<StreamInfoItem> {
|
|
|
|
public PlaylistExtractor(StreamingService service, String url) {
|
|
super(service, url);
|
|
}
|
|
|
|
@Nonnull
|
|
@Override
|
|
protected UrlIdHandler getUrlIdHandler() {
|
|
return getService().getPlaylistUrlIdHandler();
|
|
}
|
|
|
|
public abstract String getThumbnailUrl() throws ParsingException;
|
|
public abstract String getBannerUrl() throws ParsingException;
|
|
|
|
public abstract String getUploaderUrl() throws ParsingException;
|
|
public abstract String getUploaderName() throws ParsingException;
|
|
public abstract String getUploaderAvatarUrl() throws ParsingException;
|
|
|
|
public abstract long getStreamCount() throws ParsingException;
|
|
}
|