mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-28 07:50:34 +05:30
Extract uploaderVerified to StreamInfo.
This commit is contained in:
parent
68f1fa994a
commit
857b2f39e8
@ -230,6 +230,11 @@ public class StreamInfo extends Info {
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
streamInfo.addError(e);
|
streamInfo.addError(e);
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
|
streamInfo.setUploaderVerified(extractor.isUploaderVerified());
|
||||||
|
} catch (Exception e) {
|
||||||
|
streamInfo.addError(e);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
streamInfo.setSubChannelName(extractor.getSubChannelName());
|
streamInfo.setSubChannelName(extractor.getSubChannelName());
|
||||||
@ -361,6 +366,7 @@ public class StreamInfo extends Info {
|
|||||||
private String uploaderName = "";
|
private String uploaderName = "";
|
||||||
private String uploaderUrl = "";
|
private String uploaderUrl = "";
|
||||||
private String uploaderAvatarUrl = "";
|
private String uploaderAvatarUrl = "";
|
||||||
|
private boolean uploaderVerified = false;
|
||||||
|
|
||||||
private String subChannelName = "";
|
private String subChannelName = "";
|
||||||
private String subChannelUrl = "";
|
private String subChannelUrl = "";
|
||||||
@ -526,6 +532,14 @@ public class StreamInfo extends Info {
|
|||||||
this.uploaderAvatarUrl = uploaderAvatarUrl;
|
this.uploaderAvatarUrl = uploaderAvatarUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isUploaderVerified() {
|
||||||
|
return uploaderVerified;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUploaderVerified(final boolean uploaderVerified) {
|
||||||
|
this.uploaderVerified = uploaderVerified;
|
||||||
|
}
|
||||||
|
|
||||||
public String getSubChannelName() {
|
public String getSubChannelName() {
|
||||||
return subChannelName;
|
return subChannelName;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user