Good day !
I would like to know if it's possible to configure the proxy middleware in a way that it applies only to specific spiders instead of all spiders in a Scrapy project.
For example, I want to have a toggle or setting for each spider that decides whether proxies should be used or not. Is there a recommended way to achieve this using the Scrapy framework?
Example Use Case:
Spider A should use proxies.
Spider B should not use proxies.
Would it be possible to configure the middleware dynamically per spider or implement logic to check this toggle and enable/disable the middleware accordingly? If yes, could you provide guidance or examples?
Thank you!