Home >Backend Development >Python Tutorial >A basic introduction to scrapy commands

A basic introduction to scrapy commands

巴扎黑
巴扎黑Original
2017-08-08 14:21:131370browse

The editor below will bring you a brief introduction to the basic commands of scrapy. The editor thinks it’s pretty good, so I’ll share it with you now and give it as a reference. Let’s follow the editor and take a look.

As shown below:

scrapy stratproject projectname ##Create a project

scrapy genspider myspidername fider ##Create a spider file

scrapy crawl spidername ##Execute a spider program

scrapy shell url ##Dynamic execution code

The above is the detailed content of A basic introduction to scrapy commands. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn