如何使用YouTube API仅按用户名搜索?

我正在尝试使用YouTube API返回属于选定的/特定的内容创建者的视频的详细信息-问题是,以下搜索会返回任何显示列出的用户名的视频(即使出现用户名)在评论中。

因此,简而言之,请尝试使搜索更具限制性/针对性。

这是我目前所拥有的:

channels = ['elrubiusOMG','VEGETTA777','WillyRex']

yt = YouTubeDataAPI(api_key)

def getVideos(channel):
   return yt.search(channel,max_results=50)

for channel in channels:
   channelVideos += getVideos(channel)
youkuan 回答:如何使用YouTube API仅按用户名搜索?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3108714.html

大家都在问