How to solve the problem of random time in scrapy

scrapy

custom_settings = {

    "RANDOM_DELAY": 3,
    "DOWNLOADER_MIDDLEWARES": {
        "middlewares.random_delay_middleware.RandomDelayMiddleware": 999,
    }
}

this is 0-3 seconds, but what if I want to rest for 10-30 seconds now?

Oct.13,2021

to modify the middleware.

Menu