官术网_书友最值得收藏!

Getting ready...

There are several means of creating a scraper with Scrapy.  One is a programmatic pattern where we create the crawler and spider in our code.  It is also possible to configure a Scrapy project from templates or generators and then run the scraper from the command line using the scrapy command.  This book will follow the programmatic pattern as it contains the code in a single file more effectively.  This will help when we are putting together specific, targeted, recipes with Scrapy. 

This isn't necessarily a better way of running a Scrapy scraper than using the command line execution, just one that is a design decision for this book.  Ultimately this book is not about Scrapy (there are other books on just Scrapy), but more of an exposition on various things you may need to do when scraping, and in the ultimate creation of a functional scraper as a service in the cloud.

主站蜘蛛池模板: 安平县| 光山县| 府谷县| 黎川县| 永春县| 台北县| 安乡县| 喀喇沁旗| 桃园市| 阜宁县| 黄龙县| 青岛市| 阿克苏市| 太康县| 万山特区| 资溪县| 河东区| 宜春市| 新津县| 大埔县| 兴仁县| 丹东市| 明光市| 远安县| 衡阳县| 夏邑县| 湖南省| 册亨县| 舞阳县| 当阳市| 孟津县| 三都| 泰来县| 平泉县| 新民市| 盖州市| 屏边| 曲松县| 岳阳市| 海淀区| 顺义区|