How do you make scrapy-redis get the requested data instead of url?

the method used by the reference scrapy-redis on github is

scsrapy acquires url, by default, but the URL I request in the project is fixed, the difference is that the request data is inconsistent.
does scrapy-redis have a way to query the data I need from redis push? after scrapy detects it, use this data to query

Dec.27,2021

you can store json in redis. Refer to the method of next_requests and change it to parsing json.
https://github.com/rmax/scrapy-redis/blob/master/src/scrapy_redis/spiders.py

Menu