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
-
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
ConstructorsConstructorDescriptionKioskExtractor(StreamingService streamingService, ListLinkHandler linkHandler, String kioskId) -
Method Summary
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, getOriginalUrl, getService, getServiceId, getTimeAgoParser, getUrl, isPageFetched, onFetchPage, toString
-
Constructor Details
-
KioskExtractor
public KioskExtractor(StreamingService streamingService, ListLinkHandler linkHandler, String kioskId)
-
-
Method Details
-
getId
-
getName
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. 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
-