创建一个项目
scrapy startproject <project_name> [project_dir]
生成爬虫模板
scrapy genspider example example.com
执行爬虫
scrapy crawl <spider>
想了解更多,可以去官网瞅瞅 https://docs.scrapy.org/en/latest/index.html
你可能还需要一个chrome驱动 http://chromedriver.chromium.org/downloads
HRDVV/crawler
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|