BeautifulSoup 善于网页数据分析 ,抓取CSDN极客头条内容放入ListView ,
用户点击选择 webViewShow 网页href
geek.py 超过100行,得闲时看吧
# -*- coding: utf-8 -*-
import android
import urllib2, re
from BeautifulSoup import BeautifulSoup
im...
分类:
移动开发 时间:
2014-05-04 09:53:02
阅读次数:
468
BeautifulSoup 善于网页数据分析 ,但是 python for android : BeautifulSoup 有 bug ,
text = h4.a.text 只能取得 None,所以我写了function: getText()
来fix this bug.
例如: 抓取CSDN极客头条内容 soup.py
import urllib2, re
from Beau...
分类:
移动开发 时间:
2014-05-03 17:33:08
阅读次数:
427
BeautifulSoup 善于网页数据分析
请参考: http://www.crummy.com/software/BeautifulSoup
例如: 抓取CSDN首页极客头条内容 soup.py
import urllib2, re
from BeautifulSoup import BeautifulSoup
page = urllib2.urlopen("http://gee...
分类:
编程语言 时间:
2014-05-03 15:31:42
阅读次数:
401
VBA bat create excel files
the datasource is current excel...
分类:
其他好文 时间:
2014-04-29 13:24:22
阅读次数:
259