Move variable to super Extractor classes.
This commit is contained in:
parent
ab49cb6e18
commit
d290d2e393
4 changed files with 3 additions and 4 deletions
|
@ -28,6 +28,8 @@ import org.schabi.newpipe.extractor.stream.StreamInfoItem;
|
|||
|
||||
public abstract class ChannelExtractor extends ListExtractor<StreamInfoItem> {
|
||||
|
||||
public static final long UNKNOWN_SUBSCRIBER_COUNT = -1;
|
||||
|
||||
public ChannelExtractor(StreamingService service, ListLinkHandler linkHandler) {
|
||||
super(service, linkHandler);
|
||||
}
|
||||
|
|
|
@ -61,8 +61,6 @@ public class YoutubeChannelExtractor extends ChannelExtractor {
|
|||
private JsonObject initialData;
|
||||
private JsonObject videoTab;
|
||||
|
||||
private static final long UNKNOWN_SUBSCRIBER_COUNT = -1;
|
||||
|
||||
/**
|
||||
* Some channels have response redirects and the only way to reliably get the id is by saving it.
|
||||
* <p>
|
||||
|
|
|
@ -103,8 +103,6 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||
@Nullable
|
||||
private List<SubtitlesStream> subtitles = null;
|
||||
|
||||
private static final long UNKNOWN_SUBSCRIBER_COUNT = -1;
|
||||
|
||||
public YoutubeStreamExtractor(final StreamingService service, final LinkHandler linkHandler) {
|
||||
super(service, linkHandler);
|
||||
}
|
||||
|
|
|
@ -47,6 +47,7 @@ import java.util.Locale;
|
|||
public abstract class StreamExtractor extends Extractor {
|
||||
|
||||
public static final int NO_AGE_LIMIT = 0;
|
||||
public static final long UNKNOWN_SUBSCRIBER_COUNT = -1;
|
||||
|
||||
public StreamExtractor(StreamingService service, LinkHandler linkHandler) {
|
||||
super(service, linkHandler);
|
||||
|
|
Loading…
Reference in a new issue