Mika Scraper / ChannelFormatted
Interface: ChannelFormatted
Defined in: src/_other-scraper/youtube-tract.ts:18
Interface representing formatted channel information for a YouTube channel.
Properties
id
id:
string
A unique identifier for the channel.
Defined in: src/_other-scraper/youtube-tract.ts:19
name
name:
string
The name of the YouTube channel.
Defined in: src/_other-scraper/youtube-tract.ts:20
avatar
avatar:
string
The URL of the channelβs avatar image.
Defined in: src/_other-scraper/youtube-tract.ts:21
banner
banner:
string
The URL of the channelβs banner image.
Defined in: src/_other-scraper/youtube-tract.ts:22
hasBanner
hasBanner:
boolean
Indicates whether the channel has a banner image.
Defined in: src/_other-scraper/youtube-tract.ts:23
subscribers
subscribers:
string
The number of subscribers the channel has, represented as a string.
Defined in: src/_other-scraper/youtube-tract.ts:24
Example
const channel: ChannelFormatted = {
id: "UC1234567890abcdefg",
name: "Sample Channel",
avatar: "https://example.com/avatar.jpg",
banner: "https://example.com/banner.jpg",
hasBanner: true,
subscribers: "1,234,567"
};