Overview
TheChannelInfo class represents detailed information about a channel on a streaming service. It extends the Info base class and provides metadata about channels including avatars, banners, subscriber count, and channel tabs.
Static Methods
getInfo(String url)
Extracts channel information from a URL.
getInfo(StreamingService service, String url)
Extracts channel information from a URL using a specific service.
getInfo(ChannelExtractor extractor)
Extracts channel information from a ChannelExtractor instance.
Fields
Inherited from Info
The ID of the streaming service
The unique identifier for this channel
The cleaned URL of the channel
The original URL used to start extraction
The name of the channel
Channel Visuals
List of avatar/profile images for the channel in various resolutions
List of banner images for the channel in various resolutions
Channel Information
The description/about text of the channel
The number of subscribers. Returns -1 if not available.
Whether the channel is verified by the platform
Feed Information
The URL to the channel’s RSS/Atom feed (if available)
Parent Channel Information
The name of the parent channel (for sub-channels)
The URL to the parent channel
List of parent channel avatar images
Navigation and Content
List of available tabs on the channel (e.g., Videos, Playlists, About)
List of tags associated with the channel
Array of donation/support links for the channel
Methods
Getters and Setters
All fields have corresponding getter and setter methods following JavaBean conventions:Avatar Methods
Returns the list of avatar images
Sets the avatar images
Banner Methods
Returns the list of banner images
Sets the banner images
Description Methods
Returns the channel description
Sets the channel description
Subscriber Methods
Returns the subscriber count or -1 if not available
Sets the subscriber count
Verification Methods
Returns whether the channel is verified
Sets the verification status
Feed Methods
Returns the feed URL
Sets the feed URL
Parent Channel Methods
Returns the parent channel name
Sets the parent channel name
Returns the parent channel URL
Sets the parent channel URL
Returns the parent channel avatars
Sets the parent channel avatars
Tab Methods
Returns the list of channel tabs
Sets the channel tabs
Tag Methods
Returns the list of channel tags
Sets the channel tags
Donation Methods
Returns the array of donation links
Sets the donation links
Inherited Methods from Info
Returns the service ID
Returns the StreamingService instance for this info object
Returns the unique identifier
Returns the cleaned URL
Returns the original URL used for extraction
Returns the channel name
Returns a list of non-fatal errors that occurred during extraction
Adds an error to the error list