获取雅虎视频的缩略图?(Python) [英] Get thumbnail image for Yahoo video? (python)

查看:34
本文介绍了获取雅虎视频的缩略图?(Python)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题的意图与这个问题相似:

The question has a similar intent as this question:

从 Vimeo 获取 img 缩略图?

但那个是用于vimeo的.

but that one was for vimeo.

那么,我有雅虎视频的网址,有什么办法可以使用该网址获取标准缩略图吗?

So, I have a url for the yahoo video, is there any way I could get the standard thumbnail using the url?

谢谢

推荐答案

嗯,雅虎支持 oembed.因此,您可以获取视频网址,例如,http://video.yahoo.com/watch/5202550/13742849 并通过像这样使用他们的 oembed 服务:

Well, Yahoo supports oembed. So, you can take the video url e.g., http://video.yahoo.com/watch/5202550/13742849 and pass it on to their oembed service like this:

http:///video.yahoo.com/services/oembed?url=http://video.yahoo.com/watch/5202550/13742849

对此的响应将包含缩略图网址.

The response to that will contain the thumbnail image url.

这篇关于获取雅虎视频的缩略图?(Python)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆