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!