当前位置:网站首页>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
边栏推荐
- Yyds dry goods inventory Prometheus alarm Art
- Unique in China! Alibaba cloud container service enters the Forrester leader quadrant
- How to solve the problem of requiring a password when accessing your network neighborhood on your computer
- Covariance
- Opengauss database log management guide
- WiFi 2.4g/5g/6g channel distribution
- 油猴插件
- Blue Bridge Cup Guoxin Changtian single chip microcomputer -- software environment (II)
- Blue Bridge Cup -- guess age
- Morning flowers and evening flowers
猜你喜欢

Shell script three swordsman awk

Blue Bridge Cup Guoxin Changtian single chip microcomputer -- software environment (II)

Blue Bridge Cup Guoxin Changtian single chip microcomputer -- led lamp module (V)

The latest analysis of R1 quick opening pressure vessel operation in 2022 and the examination question bank of R1 quick opening pressure vessel operation

QGIS grid processing DEM data reclassification

string

Awk getting started to proficient series - awk quick start

Firefox set up proxy server

Harbor integrated LDAP authentication
![[template summary] - binary search tree BST - Basics](/img/78/782129abea06c8e3bef69a121cbce0.jpg)
[template summary] - binary search tree BST - Basics
随机推荐
Shiftvit uses the precision of swing transformer to outperform the speed of RESNET, and discusses that the success of Vit does not lie in attention!
How can enterprises and developers take advantage of the explosion of cloud native landing?
Plug - in Oil Monkey
[dynamic planning] counting garlic customers: the log of garlic King (the longest increasing public subsequence)
油猴插件
Data consistency between redis and database
2022 safety officer-a certificate registration examination and summary of safety officer-a certificate examination
MLX90614 driver, function introduction and PEC verification
IPhone development swift foundation 09 assets
Covariance
Exclusive download! Alibaba cloud native brings 10 + technical experts to bring "new possibilities of cloud native and cloud future"
JS closure knowledge points essence
C3p0 connection MySQL 8.0.11 configuration problem
Simple solution of m3u8 file format
How to obtain opensea data through opensea JS
Buuctf, web:[geek challenge 2019] buyflag
Redis single thread and multi thread
IO flow review
[Android reverse] use DB browser to view and modify SQLite database (download DB browser installation package | install DB browser tool)
Conditional statements of shell programming