public class SoundcloudSubscriptionExtractor extends SubscriptionExtractor
SubscriptionExtractor.ContentSource, SubscriptionExtractor.InvalidSourceException
service
Constructor and Description |
---|
SoundcloudSubscriptionExtractor(SoundcloudService service) |
Modifier and Type | Method and Description |
---|---|
List<SubscriptionItem> |
fromChannelUrl(String channelUrl)
Reads and parse a list of
SubscriptionItem from the given channel url. |
String |
getRelatedUrl()
Returns an url that can help/guide the user to the file (or channel url) to extract the
subscriptions.
|
fromInputStream, fromInputStream, getSupportedSources
public SoundcloudSubscriptionExtractor(SoundcloudService service)
public String getRelatedUrl()
SubscriptionExtractor
For example, in YouTube, the export subscriptions url is a good choice to return here.
getRelatedUrl
in class SubscriptionExtractor
public List<SubscriptionItem> fromChannelUrl(String channelUrl) throws IOException, ExtractionException
SubscriptionExtractor
SubscriptionItem
from the given channel url.fromChannelUrl
in class SubscriptionExtractor
SubscriptionExtractor.InvalidSourceException
- when the channelUrl doesn't exist or is invalidIOException
ExtractionException