![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python爬虫
xxll闯天涯
这个作者很懒,什么都没留下…
展开
-
python3爬虫--抓取天气信息
抓取中国天气网上的数据并打出原创 2016-08-16 17:00:49 · 688 阅读 · 0 评论 -
python3爬虫--抓取网页信息
Version:Python3.5 Os:win10 伪装浏览器抓取网页信息: import urllib.request url = 'http://www.baidu.com/' header={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0'} req=u原创 2016-08-16 16:57:07 · 434 阅读 · 0 评论 -
python爬取糗事百科数据并保存到sqlite中,命令行读出
import requests import sqlite3 from bs4 import BeautifulSoup class QSBK: def __init__(self): self.page=0 self.items=[] def getItems(self): print('正在读取第'+str(self.pa原创 2017-11-10 23:26:46 · 698 阅读 · 0 评论