更新时间:2023-02-21 09:53:07
无法选择在*** api V3上获取精选频道.
我认为我们还需要等待api v3的更新.
There isn't option to grab the featured channel on the *** api V3.
I think we also need to wait an update of the api v3.
我终于找到了*** API V3的解决方案!
I finally found a solution with *** API V3 !
如果查看频道的文档,您会看到参数: brandingSettings
If you check the documentation of Channel you can see the parameter : brandingSettings
精选频道在brandingSettings结果中.您需要的只是***频道的ID,而不是用户名.我制作了一个工具来查找名称为频道的 *** ID .
The featured channels are in the brandingSettings results. All you need is the id for the *** channel, not the username. I made a tool to find the Id of a channel *** with the name.
http://martialdidit.github.io/***ID/
例如,频道为: ***Help -> id: UCMDQxm7cUx3yXkfeHa5zJIQ
For example, the channel is : ***Help -> id : UCMDQxm7cUx3yXkfeHa5zJIQ
因此,使用此ID和part:brandingSettings,您可以找到精选频道.
So with this ID and the part : brandingSettings you are able to find the featured channels.
具有 api的浏览器
结果:
"brandingSettings": {
"channel": {
"title": "*** Help",
"description": "Subscribe for tutorials, troubleshooting, and tips from the *** Help team! Check out the links below for more help.",
"keywords": "*** help tutorials \"*** help\" Hilfe Ayuda Aide ヘルプ 도움 Ajuda",
"moderateComments": true,
"showRelatedChannels": true,
"showBrowseView": true,
"featuredChannelsTitle": "Featured Channels",
"featuredChannelsUrls": [
"UCBR8-60-B28hp2BmDPdntcQ",
"UCUZHFZ9jIKrLroW8LcyJEQQ",
"UCeNZlh03MyUkjRlLFpVQxsg",
"UCkRfArvrzheW2E7b6SVT7vQ",
"UCEN58iXQg82TXgsDCjWqIkg",
"UCgNxLruwXS9fJNPztu5AVQA"
],
"unsubscribedTrailer": "MjHDKJuPjLs",
"profileColor": "#000000"
},
如果您查看表格:featuredChannelsUrls
每个ID对应一个精选频道.使用API V3查找关联的渠道的名称.
Each id is corresponding to a featured channel. Use the API V3 to find the name of the channels associate.