随笔分类 -  爬虫

摘要:首先创建项目test1,这里不能不直接用test作文件名,会出现错误, scrapy startproject test1 然后在目录/~/test1/test1/spiders 中创建文件spider.py 1 import scrapy 2 class MySpider(scrapy.Spide 阅读全文
posted @ 2020-04-09 18:45 miaorn 阅读(1246) 评论(0) 推荐(0)
摘要:以下为ubuntu系统下 selenium出现WebDriverException: Message: 'chromedriver' executable needs to be in PATH. 下载chrome浏览器驱动, 打开chrome在地址栏输入 chrome://version/ 即可查 阅读全文
posted @ 2020-03-27 18:34 miaorn 阅读(314) 评论(0) 推荐(0)