摘要:
一、爬虫基本知识 1)基本爬虫知识,爬取图片 # 第一步获取网页文本信息 import requests response = requests.get(url='http://...') #...... # 第二步 ,对文本信息进行正则匹配 from bs4 import BeautifulSou 阅读全文
摘要:
一、sprapy爬虫框架 pip install pypiwin32 1) 创建爬虫框架 scrapy startproject Project # 创建爬虫项目 You can start your first spider with: cd Project scrapy genspider ex 阅读全文