public class YoutubeMixOrPlaylistInfoItemExtractor extends Object implements PlaylistInfoItemExtractor
Constructor and Description |
---|
YoutubeMixOrPlaylistInfoItemExtractor(com.grack.nanojson.JsonObject mixInfoItem) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
PlaylistInfo.PlaylistType |
getPlaylistType() |
long |
getStreamCount()
Get the number of streams
|
String |
getThumbnailUrl() |
String |
getUploaderName()
Get the uploader name
|
String |
getUrl() |
public YoutubeMixOrPlaylistInfoItemExtractor(com.grack.nanojson.JsonObject mixInfoItem)
public String getName() throws ParsingException
getName
in interface InfoItemExtractor
ParsingException
public String getUrl() throws ParsingException
getUrl
in interface InfoItemExtractor
ParsingException
public String getThumbnailUrl() throws ParsingException
getThumbnailUrl
in interface InfoItemExtractor
ParsingException
public String getUploaderName() throws ParsingException
PlaylistInfoItemExtractor
getUploaderName
in interface PlaylistInfoItemExtractor
ParsingException
public long getStreamCount() throws ParsingException
PlaylistInfoItemExtractor
getStreamCount
in interface PlaylistInfoItemExtractor
ParsingException
@Nonnull public PlaylistInfo.PlaylistType getPlaylistType() throws ParsingException
getPlaylistType
in interface PlaylistInfoItemExtractor
PlaylistInfo.PlaylistType
for a description
of types. If not overridden always returns PlaylistInfo.PlaylistType.NORMAL
.ParsingException