文件上传
使用Scrapy批量上传数据,需要编写Header信息与在Body部写入文件信息
boundary = '-----------------------------{0}'.format(random.random() * 1e10)
headers = {
"accept": "application/json, text/plain, */*",
"accept-encoding": "gzip, deflate, br",
"accept-language": "zh-CN,zh;q=0.9",
<