python 爬网页RGB demo
环境
window10
python3.6.5
库:lxml,BeautifulSoup,requests(pip install xxx导入这些)
目标http://www.wahart.com.hk/rgb.htm
背景
做android项目时想从网页上找rgb颜色放在colors.xml中,但懒得复制,就写了一个简单的python
获取这些内容,别问我为什么,因为闲的蛋疼!...
原创
2018-04-06 18:47:57 ·
239 阅读 ·
0 评论