Class YoutubeChannelLinkHandlerFactory
java.lang.Object
org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory
org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory
org.schabi.newpipe.extractor.services.youtube.linkHandler.YoutubeChannelLinkHandlerFactory
-
Method Summary
Modifier and TypeMethodDescriptionReturns the URL to a channel from an ID.booleanonAcceptUrl(String url) Methods inherited from class org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory
fromId, fromId, fromQuery, fromQuery, fromUrl, fromUrl, getAvailableContentFilter, getAvailableSortFilter, getUrl, getUrl, getUrlMethods inherited from class org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory
acceptUrl
-
Method Details
-
getInstance
-
getUrl
public String getUrl(String id, List<String> contentFilters, String searchFilter) throws ParsingException, UnsupportedOperationException Returns the URL to a channel from an ID.- Specified by:
getUrlin classListLinkHandlerFactory- Parameters:
id- the channel ID including e.g. 'channel/'- Returns:
- the URL to the channel
- Throws:
ParsingExceptionUnsupportedOperationException
-
getId
- Specified by:
getIdin classLinkHandlerFactory- Throws:
ParsingExceptionUnsupportedOperationException
-
onAcceptUrl
- Specified by:
onAcceptUrlin classLinkHandlerFactory
-