File tree Expand file tree Collapse file tree
extractor/src/main/java/org/schabi/newpipe/extractor/channel Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,6 +113,12 @@ public static ChannelInfo getInfo(ChannelExtractor extractor) throws IOException
113113 info .addError (e );
114114 }
115115
116+ try {
117+ info .setVerified (extractor .isVerified ());
118+ } catch (Exception e ) {
119+ info .addError (e );
120+ }
121+
116122 return info ;
117123 }
118124
@@ -125,6 +131,7 @@ public static ChannelInfo getInfo(ChannelExtractor extractor) throws IOException
125131 private long subscriberCount = -1 ;
126132 private String description ;
127133 private String [] donationLinks ;
134+ private boolean verified ;
128135
129136 public String getParentChannelName () {
130137 return parentChannelName ;
@@ -197,4 +204,12 @@ public String[] getDonationLinks() {
197204 public void setDonationLinks (String [] donationLinks ) {
198205 this .donationLinks = donationLinks ;
199206 }
207+
208+ public boolean isVerified () {
209+ return verified ;
210+ }
211+
212+ public void setVerified (boolean verified ) {
213+ this .verified = verified ;
214+ }
200215}
You can’t perform that action at this time.
0 commit comments