2013年12月30日

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 阅读(1015) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示