Subj. Our spider follows links and parses them with “parse page” function, which returns item. How can I add different proxy to each request, before the first call of parse_page?
For example, I have pool of 250 proxies and want to randomly select each one for requests.
You can create some middleware for this. For example:
I believe that you could easily randomize the proxy url, username, and password by modifying the above code. Let me know if you need any additional assistance.