使用youtube api,如何在python中获取搜索结果的喜欢列表 [英] Using youtube api, how to get the list of likes of a search results in python
本文介绍了使用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.
这篇关于使用youtube api,如何在python中获取搜索结果的喜欢列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文