摘要:
import requests url = 'https://www.***.com/downloadFile' r = requests.get(url) fp = open("test.xls", "wb") fp.write(r.content) fp.close() cookie略,根据实际 阅读全文
摘要:
抓到页面请求可以看到这些,使用files,cookie省略,根据实际情况添加 import requests url = "https://www.***.com/uploadExcel.json" # => 打开上传文件并且加入文件相关参数 file = { 'excel': open(r'C:\ 阅读全文