新浪爱彩_竞彩足球 Excel_Vba

Sub 新浪爱彩_竞彩足球()
    On Error Resume Next
    s = Format(Date, "yymmdd")
    Cells.Clear
    at = Array("hrank", "grank", "fight.win", "fight.draw", "fight.lose", "odds[21].fwin", "odds[21].fdrow", "odds[21].flose", "odds[21].win", _
               "odds[21].drow", "odds[21].lose", "odds[26].fwin", "odds[26].fdrow", "odds[26].flose", "odds[26].win", "odds[26].drow", "odds[26].lose", _
               "odds[23].fwin", "odds[23].fdrow", "odds[23].flose", "odds[23].win", "odds[23].drow", "odds[23].lose", "odds[184].fwin", "odds[184].fdrow", _
               "odds[184].flose", "odds[184].win", "odds[184].drow", "odds[184].lose", "asia[11].fwin", "asia[11].ftape", "asia[11].flose", "asia[11].win", _
               "asia[11].tape", "asia[11].lose", "asia[6].fwin", "asia[6].ftape", "asia[6].flose", "asia[6].win", "asia[6].tape", "asia[6].lose", "asia[10].fwin", _
               "asia[10].ftape", "asia[10].flose", "asia[10].win", "asia[10].tape", "asia[10].lose", "asia[13].fwin", "asia[13].ftape", "asia[13].flose", _
               "asia[13].win", "asia[13].tape", "asia[13].lose", "asia[12].fwin", "asia[12].ftape", "asia[12].flose", "asia[12].win", "asia[12].tape", _
               "asia[12].lose", "index.fkelly.win", "index.fkelly.drow", "index.fkelly.lose", "index.kelly.win", "index.kelly.drow", "index.kelly.lose", "avgOdds.fwin", _
               "avgOdds.fdrow", "avgOdds.flose", "avgOdds.win", "avgOdds.drow", "avgOdds.lose", "bf.price.win", "bf.price.drow", "bf.price.lose", "bf.index.win", _
               "bf.index.drow", "bf.index.lose", "radio", "let", "sp.jczq_xspf_gd", "sp.jczq_spf_gd", "sp.jczq_bf_gd", "sp.jczq_bcspf_gd", "sp.jczq_zjqs_gd", "col", _
               "url", "hostUrl", "guestUrl", "hscore", "ascore", "hhscore", "ahscore")
    bt = Array("fixId", "concede", "forbid4071", "forbid4076", "forbid4072", "forbid4073", "forbid4074", "weekIndex", "weekName", "matchDate", "matchId", "matchTime", "endTime", _
               "zcMatchDate", "wholeScore", "xspfSp", "zkjcletno", "spletno", "spfSp", "zkjcletyes", "spletyes", "srfspletyes", "bfSp", "zjqSp", "bqcSp", "resultXspf", "resultSpf", "resultBf", _
               "resultZjq", "resultBqc", "isMiddle", "matchName", "matchNameIndex", "homeTeam", "guestTeam")
    [a1:df1] = Array("", "", "", "", "", "", "", "", "", "", "", "", "开赛时间", "", "", "胜 平 负 0", "", "", "胜 平 负 1", "", "", "", "", "", "", "", "", "", "", "", "", "赛事", "", "主队", "客队", "", "", "", "", "", "威廉初盘", "", "", "威廉即盘", "", "", "立博初盘", "", "", "立博即盘", "", "", "韦德初盘", "", "", "韦德即盘", "", "", "易胜博初盘", "", "", "易胜博即盘", "", "", "澳门初盘", "", "", "澳门即盘 ", "", "", "韦德初盘", "", "", "韦德即盘", "", "", "皇冠初盘", "", "", "皇冠即盘", "", "", "立博初盘", "", "", "立博即盘", "", "", "易胜博初盘", "", "", "易胜博即盘", "", "", "凯利初盘", "", "", "凯利即盘", "", "", "", "", "", "", "", "", "必发价位", "", "", "必发指数")

    Set ms = CreateObject("MSScriptControl.ScriptControl")
    ms.Language = "javascript"

    With CreateObject("Microsoft.XMLHTTP")
        .Open "GET", "http://www.aicai.com/lotnew/jc/getMatchByDate.htm?lotteryType=jczq&cate=gd&dataStr=" & s & "&time=" & ms.eval("new Date().getTime();"), False
        .send
        ms.AddCode "a=" & Replace(Replace(Replace(.responsetext, "':{'00", "':{'"), "'},'0", "'},'"), "'},'0", "'},'")

        For i = 1 To 500
            For j = 0 To 34
                Cells(i + 1, j + 1) = ms.eval("a.raceList[" & i & "]." & bt(j))
            Next j
        Next i

        .Open "GET", "http://www.aicai.com/static/no_cache/jc/zcnew/data/hist/" & s & "zcRefer.js", False
        .send
        ms.AddCode "a=" & .responsetext

        For i = 1 To 500
            For j = 0 To 91
                Cells(i + 1, j + 36) = ms.eval("a[" & Cells(i + 1, 1) & "]." & at(j))
            Next j
        Next i
    End With
End Sub

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-10-16 12:41:10

新浪爱彩_竞彩足球 Excel_Vba的相关文章

中国定制男装店中的世界顶级面料品牌(组图)_新浪尚品_新浪网

南方周末 - 世界上最珍贵的面料--vicuna 世界上最珍贵的面料--vicuna 中国定制男装店中的世界顶级面料品牌(组图)_新浪尚品_新浪网 中国定制男装店中的世界顶级面料品牌(组图)

服装搭配_新浪公开课_新浪教育_新浪网

服装搭配_新浪公开课_新浪教育_新浪网 时尚100: 服装搭配(1) 帽子与服装色彩搭配 服装搭配_新浪公开课_新浪教育_新浪网 时尚100: 服装搭配(1) 帽子与服装色彩搭配

狂送3003万!新浪爱彩年末回馈盛大开启az

http://www.acfun.tv/a/aa4298509 http://www.acfun.tv/a/aa4298622 http://www.acfun.tv/a/aa4298750 http://www.acfun.tv/a/aa4298882 http://www.acfun.tv/a/aa4299028 http://www.acfun.tv/a/aa4299175 http://www.acfun.tv/a/aa4299327 http://www.acfun.tv/a/aa42

python采集新浪热门微博_郑晓_个人博客

这是之前学习python采集时的一个练习程序,程序基于python3和BeautifulSoup库.用来抓取新浪微博(热门微博hot.weibo.com)页面的信息,包括每条微博的发布人,微博内容和包含的图片,微博中含有的多张图片采集为一个图片列表. 由于在页面中没有发现比较精确的发布时间字段,所以也没有去弄(目前思路是获取到它的页面中的时间信息,然后做判断去转换).这里以热门笑话的一个页面做为采集对象. #-*-coding:utf-8 -*-from?bs4?import?Beautiful

专家详解竞彩普及:合理分配资金玩转单场竞猜

问:竞彩普及日的时间?有哪些重要赛事? 问:单场竞猜有哪些特点? 首批国家体彩中心体彩培训师,常年从事足彩研究与推介,在本报的推介屡次中奖. 答:在竞彩普及日期间,竞彩足球胜平负和让球胜平负单关固定奖的场次激增,在竞猜中要尽量挑选自己较熟悉的赛事,并进行细致分析,以提高中奖率.今年亚洲杯期间,亚洲杯所有比赛均开售胜平负单场固定奖,一些场次的返奖率动辄超过1005,就是因为彩民对参赛球队非常熟悉,从而极大提高了中奖率. 问:竞彩普及日的时间?有哪些重要赛事? 问:今年竞彩普及日跟往年有什么不同?

C++-类和动态内存分配 大发彩_票平台开发

大发彩_票平台开发 地址一:[hubawl.com]狐霸源码论坛地址二:[bbscherry.com] 类和动态内存分配 动态内存和类 C++在分配内存时是让程序在运行时决定内存分配,而不是在编译时决定. 这样,可根据程序的需要,而不是根据一系列严格的存储类型规则来使用内存.C++使用new和delete运算符来动态控制内存. 1.1. 复习示例和静态类成员 这个程序使用了一个新的存储类型:静态类成员. //strngbad.h#include<iostream>#ifndef STRNGBA

Effective Java-创建 大发彩_票平台出租 和销毁对象

一.考虑用静态方法代替构造器 ? 类可以通过静态工厂方法来提供它的客户端,而不是通过构造器. 优势: ? 1.它们有名称,可以根据名称将创建对象的行为表达的更清楚. ? 2.可以不必在每次调用它们的时候都返回一个新对象.这使得不可变类可以使用预先构建好的实例,或者将构建好的实例缓存起来,进行重复利用. ? 3.它们可以返回原返回类型的任何子类型的对象.API可以返回对象,同时又不会使对象的类变成公有的.以这种方式隐藏实现细节. ? 4.在创建参数化实例的时候,它们使代码变得简洁. 缺点: ? 1

基于samba实现win7与linux之间共享文件_阳仔_新浪博客

基于samba实现win7与linux之间共享文件_阳仔_新浪博客 然后启动samba执行如下指令: /dev/init.d/smb start 至此完成全部配置.

要时尚 去董家渡“驳样”_新浪上海_摩登上海

要时尚 去董家渡"驳样"_新浪上海_摩登上海 要时尚 去董家渡"驳样" 2002年10月30日 13:51   申江服务导报 文/本报记者徐文瀚 似乎是从去年冬天开始,"董家渡"大有取代"襄阳路"的咄咄逼人之势,成为许多时尚MM的"口头禅".以前喜欢去襄阳路.长乐路淘"外贸货"的女孩子,也开始尝试吃起了"自助餐"---在杂志上看到最新款的衣服,直接跑到董家渡布料市场觅