scrapy-zyte-smartproxy icon indicating copy to clipboard operation
scrapy-zyte-smartproxy copied to clipboard

breaks `response.text` for other middlewares

Open getorca opened this issue 3 years ago • 1 comments

calling response.text in any download middleware loaded after scrapy_crawlera middleware results in *** AttributeError: Response content isn't text

getorca avatar Jan 27 '21 21:01 getorca

Could anyone provide steps to reproduce here? It seems unlikely to me that the response changes from TextResponse to Response in the middleware.

Gallaecio avatar Feb 12 '24 12:02 Gallaecio