ppwwyyxx/SoPaper

Very slow download on some server and relatively big files

moissinac opened this issue · 0 comments

The line in requests_download
for data in resp.iter_content():
seems to be responsible

Replacing this line by
for data in resp.iter_content(1024*1024):
seems to be efficient