摘要:
'''scrapy创建并运行1.创建项目,控制台输入scrapy startproject xiachufangs2.跳转到项目 cd xiachufang3.创建爬虫项目,scrapy genspider xiachufang 域名(www开头) ,项目名和文件名不能一样4.修改设置。在setti 阅读全文
摘要:
"""author:张鑫date:2021/11/3 15:15"""# 导入模块import pandas as pdimport pymongo# 连接数据库client = pymongo.MongoClient('localhost', 27017)db = client['zhaopin' 阅读全文
摘要:
"""author:张鑫date:2021/11/3 11:30https://m.zhipin.com/wapi/zpgeek/mobile/search/joblist.json?query=python%E7%88%AC%E8%99%AB%E5%B7%A5%E7%A8%8B%E5%B8%88& 阅读全文
摘要:
from scrapy import cmdline# baidus:爬虫文件里的namecmdline.execute('scrapy crawl baidus'.split()) 阅读全文