2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-09-04 08:15:32 +00:00

Change back to private

This commit is contained in:
litetex
2025-07-08 21:50:04 +02:00
parent e08747f339
commit f15190f8f9

View File

@@ -210,7 +210,7 @@ public class YoutubeStreamInfoItemLockupExtractor implements StreamInfoItemExtra
return -1; return -1;
} }
protected long getViewCountFromViewCountText(@Nonnull final String viewCountText) private long getViewCountFromViewCountText(@Nonnull final String viewCountText)
throws NumberFormatException, ParsingException { throws NumberFormatException, ParsingException {
// These approaches are language dependent // These approaches are language dependent
if (viewCountText.toLowerCase().contains(NO_VIEWS_LOWERCASE)) { if (viewCountText.toLowerCase().contains(NO_VIEWS_LOWERCASE)) {
@@ -230,17 +230,17 @@ public class YoutubeStreamInfoItemLockupExtractor implements StreamInfoItemExtra
"contentImage.thumbnailViewModel.image.sources")); "contentImage.thumbnailViewModel.image.sources"));
} }
protected boolean isPremium() { private boolean isPremium() {
// TODO Detect with samples // TODO Detect with samples
return false; return false;
} }
protected boolean isPremiere() { private boolean isPremiere() {
// TODO Detect with samples // TODO Detect with samples
return false; return false;
} }
protected Optional<JsonObject> metadataPart(final int rowIndex, final int partIndex) private Optional<JsonObject> metadataPart(final int rowIndex, final int partIndex)
throws ParsingException { throws ParsingException {
return JsonUtils.getArray(lockupViewModel, return JsonUtils.getArray(lockupViewModel,
"metadata.lockupMetadataViewModel.metadata" "metadata.lockupMetadataViewModel.metadata"
@@ -255,7 +255,7 @@ public class YoutubeStreamInfoItemLockupExtractor implements StreamInfoItemExtra
.findFirst(); .findFirst();
} }
protected String getTextContentFromMetadataPart(final JsonObject metadataPart) { private String getTextContentFromMetadataPart(final JsonObject metadataPart) {
return metadataPart.getObject("text").getString("content"); return metadataPart.getObject("text").getString("content");
} }