回复 9楼 sdta
用浏览器打开看页面也是不断定时刷新数据的数据记录也是会变动的
CLEAR cUrl = "http://score./data/bf.js?000&" + SUBSTR(SYS(2015), 2) oHttp = CREATEOBJECT("MSXML2.XMLHTTP") oHttp.Open("GET", cUrl, .F.) oHttp.Send() lcText = STRCONV(oHttp.responseBody,11) ALINES(laText, lcText, 5, CHR(13) + CHR(10)) DIMENSION laText[ALEN(laText), 1] CREATE CURSOR test (A1 c(254)) INSERT INTO test FROM ARRAY laText SELECT A1 FROM test WHERE LEFT(A1, 1) == "B" INTO CURSOR temp LOCAL laB[RECCOUNT(), 2] lcWz_B = "http://info./cn/" SCAN ALINES(laStr, A1, "=[", ",'", "',", ",", "];") laB[RECNO(), 1] = laStr[3] laB[RECNO(), 2] = IIF(EMPTY(laStr[9]), "", lcWz_B) + laStr[9] ENDSCAN *LIST MEMORY LIKE laB * 赛程信息 FOR lnJ = 8 TO ALEN(laText, 1) IF LEFT(laText[lnJ], 1) != "A" EXIT ENDIF ALINES(laStr, laText[lnJ], "=[", ",", "];") ? lnJ - 7, STREXTRACT(laText[7], '"', '"'), laB[&laStr[3] + 1, 1],; &laStr[12], ICASE(&laStr[19] = -1, "完", ""),; IIF("<"$&laStr[6], STREXTRACT(&laStr[6], "", "<"), &laStr[6]),; laStr[20] + "-" + laStr[21], &laStr[9],; laStr[41] + "-" + laStr[42]+ "/" + laStr[43] + "-" + laStr[44] ENDFOR