2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-30 13:57:46 +00:00

Added more doc

This commit is contained in:
litetex
2021-06-16 20:14:07 +02:00
parent a59fead0d7
commit 6860543b07

View File

@@ -43,6 +43,15 @@ public class YoutubeCommentsExtractor extends CommentsExtractor {
private String ytClientName; private String ytClientName;
private String responseBody; private String responseBody;
/**
* Caching mechanism and holder of the commentsDisabled value.
* <br/>
* Initial value = empty -> unknown if comments are disabled or not<br/>
* Some method calls {@link YoutubeCommentsExtractor#findInitialCommentsToken()}
* -> value is set<br/>
* If the method or another one that is depending on disabled comments
* is now called again, the method execution can avoid unnecessary calls
*/
private Optional<Boolean> optCommentsDisabled = Optional.empty(); private Optional<Boolean> optCommentsDisabled = Optional.empty();
public YoutubeCommentsExtractor( public YoutubeCommentsExtractor(