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.String
getId(java.lang.String url)
static BandcampChannelLinkHandlerFactory
getInstance()
java.lang.String
getUrl(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 urlboolean
onAcceptUrl(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:
getId
in classLinkHandlerFactory
- Throws:
ParsingException
java.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.UnsupportedOperationException
Uses the mobile endpoint as a "translator" from id to url- Specified by:
getUrl
in classListLinkHandlerFactory
- Throws:
ParsingException
java.lang.UnsupportedOperationException
-
onAcceptUrl
public boolean onAcceptUrl(java.lang.String url) throws ParsingException
Accepts only pages that lead to the root of an artist profile. Supports external pages.- Specified by:
onAcceptUrl
in classLinkHandlerFactory
- Throws:
ParsingException
-
-