nokogiri 足球比赛数据
摘要:
抓取足球比赛数据View Code 1 require 'open-uri' 2 require 'nokogiri' 3 require 'pp' 4 require 'json' 5 6 7 url = 'http://info.sporttery.com/football/ttg_vp.php' 8 urlhafu = 'http://info.sporttery.com/football/hafu_vp.php' 9 def grabinfo(url)10 doc = Nokogiri::H 阅读全文
posted @ 2013-02-20 12:31 d&lufd 阅读(259) 评论(2) 推荐(1) 编辑