当前位置:网站首页>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
边栏推荐
- Programming language (1)
- How to restore the factory settings of HP computer
- (POJ - 2912) rochambau (weighted concurrent search + enumeration)
- Codeforces Round #768 (Div. 1)(A-C)
- Druids connect to mysql8.0.11
- 2022 high altitude installation, maintenance and removal of examination question bank and high altitude installation, maintenance and removal of examination papers
- [sg function]split game (2020 Jiangxi university student programming competition)
- string
- Overview of Yunxi database executor
- Blue Bridge Cup Guoxin Changtian single chip microcomputer -- software environment (II)
猜你喜欢

Ppt image processing

Programming language (1)
![[SRS] build a specified version of SRS](/img/01/0d2d762e01b304220b8924d20277e3.jpg)
[SRS] build a specified version of SRS

Some 5000+ likes, the development notes of a director of cosmic factory, leaked

Format cluster and start cluster

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

Correlation

How can enterprises and developers take advantage of the explosion of cloud native landing?

540. Single element in ordered array

On my first day at work, this API timeout optimization put me down!
随机推荐
WiFi 2.4g/5g/6g channel distribution
Yyds dry goods inventory Spring Festival "make" your own fireworks
Ansible common usage scenarios
IO flow review
Pan Yueming helps Germany's Rochester Zodiac custom wristwatch
To rotate 90 degrees clockwise and modify the video format
Recursion and recursion
[dynamic programming] Ji Suan Ke: Suan tou Jun breaks through the barrier (variant of the longest increasing subsequence)
Leetcode week 4: maximum sum of arrays (shape pressing DP bit operation)
WFC900M-Network_ Card/Qualcomm-Atheros-AR9582-2T-2R-MIMO-802.11-N-900M-high-power-Mini-PCIe-Wi-Fi-Mod
[Android reverse] use DB browser to view and modify SQLite database (download DB browser installation package | install DB browser tool)
AST (Abstract Syntax Tree)
2022 electrician (elementary) examination questions and electrician (elementary) registration examination
[actual combat record] record the whole process of the server being attacked (redis vulnerability)
Label coco format data and format data in the upper left corner and lower right corner are mutually converted
油猴插件
Yyds dry goods inventory hands-on teach you to create a jigsaw puzzle using the canvasapi
2022 safety officer-b certificate examination summary and safety officer-b certificate simulation test questions
Blue Bridge Cup -- guess age
Hcip day 14 notes