使用youtube api,如何在python中获取搜索结果的喜欢列表

问题描述:

例如:如果搜索关键字印度板球队"..搜索结果包含一组视频.我想为每个视频获得点赞.

For eg: if search the keyword "Indian Cricket team"..search results contains a set of videos. I want to get the like got for each videos.

您可以遍历搜索结果以获取 videoIds 在一起,然后使用 videos->list 调用以获取视频的喜欢.

You can iterate over search results to get videoIds together, then use videos->list call to get likes of videos.

您可以查看 Python 示例以获取示例.

You can check Python samples for examples.