|
- Sub Main()
- Dim strText As String
- Dim timeStamp As Long
- Dim arr
- Dim Title As String
- With CreateObject("WinHttp.WinHttpRequest.5.1")
- .Open "GET", "https://www.flashscore.com/match/xSUUEVHO/", False
- .Send
- strText = .responsetext
- End With
- timeStamp = Split(Split(strText, "game_utime = ")(1), ";")(0)
- Title = Split(Split(strText, "<title>")(1), "</title>")(0)
- Debug.Print Title & vbCrLf & GetTime(timeStamp)
- End Sub
- Private Function GetTime(timeStamp As Long) As String
- GetTime = Format(DateAdd("s", timeStamp, "1970-1-1"), "dd.mm.yy hh:nn")
- End Function
复制代码 |
评分
-
1
查看全部评分
-
|