2018年6月2日

python第一个爬虫脚本

摘要: import urllib.requestimport reimport os url = "http://www.budejie.com/" # 爬的地址 def get_page(url): page = urllib.request.urlopen(url).read() # 获取到该地址的所 阅读全文

posted @ 2018-06-02 22:18 本空空 阅读(199) 评论(0) 推荐(0)

导航