标签:rtp style cto ted director pre spider with star
进入文件夹
(blogproject_env) H:\>c:
(blogproject_env) C:\Users\admin>cd C:\Users\admin\Desktop\xiangmu
创建scrapy工程
(blogproject_env) C:\Users\admin\Desktop\xiangmu>scrapy startproject ArticleSpider
安装成功:
New Scrapy project ‘ArticleSpider‘, using template directory ‘h:\\blog\\blogproject_env\\lib\\site-packages\\scrapy\\templates\\project‘, created in: C:\Users\admin\Desktop\xiangmu\ArticleSpider You can start your first spider with: cd ArticleSpider scrapy genspider example example.com
创建要爬取的项目
(blogproject_env) C:\Users\admin\Desktop\xiangmu>cd ArticleSpider (blogproject_env) C:\Users\admin\Desktop\xiangmu\ArticleSpider>scrapy genspider jobbole bolg.gobbole.com Created spider ‘jobbole‘ using template ‘basic‘ in module: ArticleSpider.spiders.jobbole (blogproject_env) C:\Users\admin\Desktop\xiangmu\ArticleSpider>
标签:rtp style cto ted director pre spider with star
原文地址:http://www.cnblogs.com/Mjonj/p/7637581.html