当前位置:网站首页>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
边栏推荐
- LeetCode 540. A single element in an ordered array
- Label coco format data and format data in the upper left corner and lower right corner are mutually converted
- In 2022, 6G development has indeed warmed up
- [golang] leetcode intermediate - alphabetic combination of island number and phone number
- Unique in China! Alibaba cloud container service enters the Forrester leader quadrant
- [sg function] lightoj Partitioning Game
- Errors taken 1 Position1 argument but 2 were given in Mockingbird
- How the computer flushes the local DNS cache
- Sow of PMP
- How to obtain opensea data through opensea JS
猜你喜欢

How to solve the problem of computer networking but showing no Internet connection

Harbor integrated LDAP authentication

MLX90614 driver, function introduction and PEC verification

Flutter internationalized Intl

The 2022 global software R & D technology conference was released, and world-class masters such as Turing prize winners attended

2022 free examination questions for safety management personnel of hazardous chemical business units and reexamination examination for safety management personnel of hazardous chemical business units

Es6~es12 knowledge sorting and summary

How to solve win10 black screen with only mouse arrow

Hcip day 12 notes

webAssembly
随机推荐
2022 safety officer-b certificate examination summary and safety officer-b certificate simulation test questions
Electronic tube: Literature Research on basic characteristics of 6j1
LeetCode 1646. Get the maximum value in the generated array
Hcip day 14 notes
4 environment construction -standalone ha
. Net ADO splicing SQL statement with parameters
WiFi 2.4g/5g/6g channel distribution
DR-AP40X9-A-Qualcomm-IPQ-4019-IPQ-4029-5G-4G-LTE-aluminum-body-dual-band-wifi-router-2.4GHZ-5GHz-QSD
股票炒股开户注册安全靠谱吗?有没有风险的?
[SRS] build a specified version of SRS
C deep anatomy - the concept of keywords and variables # dry inventory #
IPhone development swift foundation 09 assets
Redis single thread and multi thread
Data consistency between redis and database
Some 5000+ likes, the development notes of a director of cosmic factory, leaked
Harbor integrated LDAP authentication
The difference between SRAM and DRAM
320. Energy Necklace (ring, interval DP)
Kali2021.4a build PWN environment
Firefox set up proxy server