Class CommentsExtractor
java.lang.Object
org.schabi.newpipe.extractor.Extractor
org.schabi.newpipe.extractor.ListExtractor<CommentsInfoItem>
org.schabi.newpipe.extractor.comments.CommentsExtractor
- Direct Known Subclasses:
BandcampCommentsExtractor,PeertubeCommentsExtractor,SoundcloudCommentsExtractor,YoutubeCommentsExtractor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.schabi.newpipe.extractor.ListExtractor
ListExtractor.InfoItemsPage<T extends InfoItem> -
Field Summary
Fields inherited from class org.schabi.newpipe.extractor.ListExtractor
ITEM_COUNT_INFINITE, ITEM_COUNT_MORE_THAN_100, ITEM_COUNT_UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetName()Get the namebooleanbooleanvoidsetLiveChatContinuation(String continuation) Methods inherited from class org.schabi.newpipe.extractor.ListExtractor
getInitialPage, getLinkHandler, getPageMethods inherited from class org.schabi.newpipe.extractor.Extractor
assertPageFetched, fetchPage, forceContentCountry, forceLocalization, getBaseUrl, getDownloader, getExtractorContentCountry, getExtractorLocalization, getId, getOriginalUrl, getService, getServiceId, getTimeAgoParser, getUrl, isPageFetched, onFetchPage, toString
-
Constructor Details
-
CommentsExtractor
-
-
Method Details
-
isCommentsDisabled
- Returns:
trueif the comments are disabled otherwisefalse(default)- Throws:
ExtractionException- API Note:
- Warning: This method is experimental and may get removed in a future release.
-
isLiveChat
- Returns:
trueif the comments source is a live chat otherwisefalse(default)- Throws:
ExtractionException- API Note:
- Warning: This method is experimental and may get removed in a future release.
-
setLiveChatContinuation
- API Note:
- Warning: This method is experimental and may get removed in a future release. Configures this extractor to fetch live chat messages using the given continuation.
-
getCommentsCount
- Returns:
- the total number of comments
- Throws:
ExtractionException
-
getName
Description copied from class:ExtractorGet the name- Specified by:
getNamein classExtractor- Returns:
- the name
- Throws:
ParsingException- if the name cannot be extracted
-