Python 下载远程文件最简单的办法
0x00 脚本说明
Python下载远程文件最简单的办法。
0x01 脚本代码
import requests
def download_file(self, url, save_path):
open(save_path, "wb").write(requests.get(url).content)
0x02 参考文章
https://zhuanlan.zhihu.com/p/162965342
Python下载远程文件最简单的办法。
import requests
def download_file(self, url, save_path):
open(save_path, "wb").write(requests.get(url).content)
https://zhuanlan.zhihu.com/p/162965342