Class BandcampChannelLinkHandlerFactory
- java.lang.Object
-
- org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory
-
- org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory
-
- org.schabi.newpipe.extractor.services.bandcamp.linkHandler.BandcampChannelLinkHandlerFactory
-
public final class BandcampChannelLinkHandlerFactory extends ListLinkHandlerFactory
Artist do have IDs that are useful
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId(java.lang.String url)static BandcampChannelLinkHandlerFactorygetInstance()java.lang.StringgetUrl(java.lang.String id, java.util.List<java.lang.String> contentFilter, java.lang.String sortFilter)Uses the mobile endpoint as a "translator" from id to urlbooleanonAcceptUrl(java.lang.String url)Accepts only pages that lead to the root of an artist profile.-
Methods inherited from class org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory
fromId, fromId, fromQuery, fromQuery, fromUrl, fromUrl, getAvailableContentFilter, getAvailableSortFilter, getUrl, getUrl, getUrl
-
Methods inherited from class org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory
acceptUrl
-
-
-
-
Method Detail
-
getInstance
public static BandcampChannelLinkHandlerFactory getInstance()
-
getId
public java.lang.String getId(java.lang.String url) throws ParsingException, java.lang.UnsupportedOperationException- Specified by:
getIdin classLinkHandlerFactory- Throws:
ParsingExceptionjava.lang.UnsupportedOperationException
-
getUrl
public java.lang.String getUrl(java.lang.String id, java.util.List<java.lang.String> contentFilter, java.lang.String sortFilter) throws ParsingException, java.lang.UnsupportedOperationExceptionUses the mobile endpoint as a "translator" from id to url- Specified by:
getUrlin classListLinkHandlerFactory- Throws:
ParsingExceptionjava.lang.UnsupportedOperationException
-
onAcceptUrl
public boolean onAcceptUrl(java.lang.String url) throws ParsingExceptionAccepts only pages that lead to the root of an artist profile. Supports external pages.- Specified by:
onAcceptUrlin classLinkHandlerFactory- Throws:
ParsingException
-
-