Python抓取双色球数据
摘要:
数据来源网站http://baidu.lecai.com/lottery/draw/list/50?d=2013-01-01 HTML解析器http://pythonhosted.org/pyquery/(可以像JQuery那样使用) 源码: 1 import MySQLdb as mysql 2 from pyquery import PyQuery as pq 3 4 create_table_sql = ''' 5 create table union_lotto( 6 issue int primary key, 7 lottery_date date,... 阅读全文
posted @ 2013-12-30 20:55 Arts&Crafts 阅读(1008) 评论(0) 推荐(0) 编辑