diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/channel/ChannelInfo.java b/extractor/src/main/java/org/schabi/newpipe/extractor/channel/ChannelInfo.java index 6863e6028..00201358a 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/channel/ChannelInfo.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/channel/ChannelInfo.java @@ -113,6 +113,12 @@ public class ChannelInfo extends ListInfo { info.addError(e); } + try { + info.setVerified(extractor.isVerified()); + } catch (Exception e) { + info.addError(e); + } + return info; } @@ -125,6 +131,7 @@ public class ChannelInfo extends ListInfo { private long subscriberCount = -1; private String description; private String[] donationLinks; + private boolean verified; public String getParentChannelName() { return parentChannelName; @@ -197,4 +204,12 @@ public class ChannelInfo extends ListInfo { public void setDonationLinks(String[] donationLinks) { this.donationLinks = donationLinks; } + + public boolean isVerified() { + return verified; + } + + public void setVerified(boolean verified) { + this.verified = verified; + } }