如何将ESPN Crickinfo Cricket Score整合到我的网站中 [英] how to integrate ESPN Crickinfo Cricket Score into my web site

查看:154
本文介绍了如何将ESPN Crickinfo Cricket Score整合到我的网站中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对所有人来说......这是venkat。我想开发像espn crickinfo这样的现场板球更新。请帮帮我..等你回复。提前谢谢。

解决方案

AFAIK,Cricinfo不提供API。

刮痧他们的网站可能是一个选择半实时订阅。


如果您想要实时订阅,您必须订阅提供它们的服务。



如果你想要半现场直播,你必须定期刮掉ESPN页面以获得分数。这将涉及每隔一段时间进行一次轮询,下载页面,解析它们以获取你想要的数据,祈祷ESPN永远不会改变他们的HTML布局(祝你好运!),然后忍受他们的律师和停止和停止字母违反他们的服务条款。



你真的不能免费获得体育比分。


hai to all... this is venkat. i want to develop live cricket updates like espn crickinfo. please help me.. waiting for u r reply. thanks in advance.

解决方案

AFAIK, Cricinfo does not offer an API''s.
Scraping their site could be one option to get semi-live feeds.


If you want live feeds, you''ll have to subscribe to a service that provides them.

If you want semi-live feeds, you''ll have to periodically scrape ESPN pages to get the scores. This will involve polling every so often, downloading the pages, parsing them for the data you want, praying that ESPN never changes their HTML layout (good luck with that!), and then putting up with their lawyers and "cease and desist" letters for violating their terms of service.

You really can''t get sports scores, live, for free.


这篇关于如何将ESPN Crickinfo Cricket Score整合到我的网站中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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