python 响应结果太大

with open(filename, 'wb') as fd:
    for chunk in r.iter_content(chunk_size):
        fd.write(chunk)
原文地址:https://www.cnblogs.com/tarzen213/p/14331747.html