Added more doc

This commit is contained in:
litetex 2021-06-16 20:14:07 +02:00
parent a59fead0d7
commit 6860543b07
1 changed files with 9 additions and 0 deletions

View File

@ -43,6 +43,15 @@ public class YoutubeCommentsExtractor extends CommentsExtractor {
private String ytClientName;
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();
public YoutubeCommentsExtractor(