scrapy框架学习

一、创建scrapy项目 scrapy startproject [项目名称] scrapy startproject test0409 二、创建爬虫Spider(Ps: 在创建的项目下面创建spider cd test0409) 1、继承scrapy.Spider类 scrapy genspider [爬虫名] [域名] scrapy genspider tieba tieba.baidu.co
相关文章
相关标签/搜索