Class KioskExtractor<T extends InfoItem>
- java.lang.Object
-
- org.schabi.newpipe.extractor.Extractor
-
- org.schabi.newpipe.extractor.ListExtractor<T>
-
- org.schabi.newpipe.extractor.kiosk.KioskExtractor<T>
-
- Direct Known Subclasses:
BandcampFeaturedExtractor,BandcampRadioExtractor,MediaCCCConferenceKiosk,MediaCCCLiveStreamKiosk,MediaCCCRecentKiosk,PeertubeTrendingExtractor,SoundcloudChartsExtractor,YoutubeLiveExtractor,YoutubeTrendingExtractor,YoutubeTrendingGamingVideosExtractor,YoutubeTrendingMoviesAndShowsTrailersExtractor,YoutubeTrendingMusicExtractor,YoutubeTrendingPodcastsEpisodesExtractor
public abstract class KioskExtractor<T extends InfoItem> extends ListExtractor<T>
-
-
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 Constructor Description KioskExtractor(StreamingService streamingService, ListLinkHandler linkHandler, java.lang.String kioskId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()abstract java.lang.StringgetName()Id should be the name of the kiosk, tho Id is used for identifying it in the frontend, so id should be kept in english.-
Methods inherited from class org.schabi.newpipe.extractor.ListExtractor
getInitialPage, getLinkHandler, getPage
-
Methods inherited from class org.schabi.newpipe.extractor.Extractor
assertPageFetched, fetchPage, forceContentCountry, forceLocalization, getBaseUrl, getDownloader, getExtractorContentCountry, getExtractorLocalization, getOriginalUrl, getService, getServiceId, getTimeAgoParser, getUrl, isPageFetched, onFetchPage
-
-
-
-
Constructor Detail
-
KioskExtractor
public KioskExtractor(StreamingService streamingService, ListLinkHandler linkHandler, java.lang.String kioskId)
-
-
Method Detail
-
getName
@Nonnull public abstract java.lang.String getName() throws ParsingExceptionId should be the name of the kiosk, tho Id is used for identifying it in the frontend, so id should be kept in english. In order to get the name of the kiosk in the desired language we have to crawl if from the website.- Specified by:
getNamein classExtractor- Returns:
- the translated version of id
- Throws:
ParsingException- if the name cannot be extracted
-
-