I am running scrapy 1.0.1 in my pyhon web crawler and setting the max download size like this:
DOWNLOAD_MAXSIZE = 41943040 #40MB.
When I run into a bigger file, scrappy keeps logging the error: ERROR: Received (51316256) bytes larger than download max size (41943040) but never stops. I have looked into the code and saw a call to cancel the processe here, but in my case is not working, the download keeps going on.
Any thoughts on why this would happen ? It seems to be something wrong on twisted not cancelling the download.
I am running scrapy 1.0.1 in my pyhon web crawler and setting the max download size like this:
DOWNLOAD_MAXSIZE = 41943040 #40MB
.When I run into a bigger file, scrappy keeps logging the error:
ERROR: Received (51316256) bytes larger than download max size (41943040)
but never stops. I have looked into the code and saw a call to cancel the processe here, but in my case is not working, the download keeps going on.Any thoughts on why this would happen ? It seems to be something wrong on twisted not cancelling the download.
Detailed version info:
The text was updated successfully, but these errors were encountered: