You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsExtractor.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,15 @@ public class YoutubeCommentsExtractor extends CommentsExtractor {
43
43
privateStringytClientName;
44
44
privateStringresponseBody;
45
45
46
+
/**
47
+
* Caching mechanism and holder of the commentsDisabled value.
48
+
* <br/>
49
+
* Initial value = empty -> unknown if comments are disabled or not<br/>
50
+
* Some method calls {@link YoutubeCommentsExtractor#findInitialCommentsToken()}
51
+
* -> value is set<br/>
52
+
* If the method or another one that is depending on disabled comments
53
+
* is now called again, the method execution can avoid unnecessary calls
0 commit comments