2017-06-29 20:12:55 +02:00
|
|
|
package org.schabi.newpipe.extractor.playlist;
|
|
|
|
|
2017-07-10 00:43:04 +02:00
|
|
|
import org.schabi.newpipe.extractor.ListExtractor;
|
2017-06-29 20:12:55 +02:00
|
|
|
import org.schabi.newpipe.extractor.UrlIdHandler;
|
|
|
|
import org.schabi.newpipe.extractor.exceptions.ExtractionException;
|
|
|
|
import org.schabi.newpipe.extractor.exceptions.ParsingException;
|
2017-08-04 16:21:45 +02:00
|
|
|
import org.schabi.newpipe.extractor.exceptions.ReCaptchaException;
|
2017-06-29 20:12:55 +02:00
|
|
|
import org.schabi.newpipe.extractor.stream.StreamInfoItemCollector;
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
2017-07-10 00:43:04 +02:00
|
|
|
public abstract class PlaylistExtractor extends ListExtractor {
|
2017-06-29 20:12:55 +02:00
|
|
|
|
|
|
|
public PlaylistExtractor(UrlIdHandler urlIdHandler, String url, int serviceId) throws ExtractionException, IOException {
|
|
|
|
super(urlIdHandler, serviceId, url);
|
|
|
|
}
|
|
|
|
|
|
|
|
public abstract String getPlaylistId() throws ParsingException;
|
|
|
|
public abstract String getPlaylistName() throws ParsingException;
|
|
|
|
public abstract String getAvatarUrl() 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;
|
2017-08-04 16:21:45 +02:00
|
|
|
public abstract StreamInfoItemCollector getStreams() throws ParsingException, ReCaptchaException, IOException;
|
2017-06-29 20:12:55 +02:00
|
|
|
public abstract long getStreamsCount() throws ParsingException;
|
|
|
|
}
|