当前位置:网站首页>Scratch uses runner Py run or debug crawler
Scratch uses runner Py run or debug crawler
2022-07-03 22:42:00 【Keep a low profile】
Before we run scrapy Reptiles , Always execute on the command line
scrapy crawl Spider name
This kind of operation is no problem , But I can't use run 、debug
So the new method comes 
Find a directory , Add one runner.py
from scrapy.cmdline import execute
if __name__ == '__main__':
execute('scrapy crawl test_m'.split())
In this way, you can right-click to run it
边栏推荐
- Blue Bridge Cup -- guess age
- Mysql database - Advanced SQL statement (I)
- How to connect a laptop to a projector
- 1068. Consolidation of ring stones (ring, interval DP)
- SDMU OJ#P19. Stock trading
- Uboot migration
- 2022 safety officer-a certificate registration examination and summary of safety officer-a certificate examination
- This time, thoroughly understand bidirectional data binding 01
- Cesium terrain clipping draw polygon clipping
- 6.0 kernel driver character driver
猜你喜欢

Buuctf, misc: n solutions

Teach you how to run two or more MySQL databases at the same time in one system

string

Opengauss database log management guide

Electronic tube: Literature Research on basic characteristics of 6j1

540. Single element in ordered array

Firefox set up proxy server

Code in keil5 -- use the code formatting tool astyle (plug-in)

Learning notes of raspberry pie 4B - IO communication (SPI)

Take you to master the formatter of visual studio code
随机推荐
In 2022, 6G development has indeed warmed up
How can enterprises and developers take advantage of the explosion of cloud native landing?
Opengauss database log management guide
Uboot migration
Data consistency between redis and database
Cesium terrain clipping draw polygon clipping
[untitled]
Buuctf, misc: sniffed traffic
Leetcode week 4: maximum sum of arrays (shape pressing DP bit operation)
Summary of fluent systemchrome
Text replacement demo
[Android reverse] use DB browser to view and modify SQLite database (download DB browser installation package | install DB browser tool)
Team collaborative combat penetration tool CS artifact cobalt strike
[automation operation and maintenance novice village] flask-2 certification
Flutter internationalized Intl
[Android reverse] use the DB browser to view and modify the SQLite database (copy the database file from the Android application data directory | use the DB browser tool to view the data block file)
Mindmanager2022 serial number key decompression installer tutorial
Weekly leetcode - nc9/nc56/nc89/nc126/nc69/nc120
What are the common computer problems and solutions
Wisdom tooth technology announced that it had completed the round D financing of US $100million and had not obtained a valid patent yet