💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
~~~ header={} video_response=requests.get(url='https://xxxxx',headers=header) with open('test.mp4','wb') as v: v.write(video_response.content) ~~~ 注意:写入文件要二进制,也就是open第二个参数为wb 还有返回的数据提取要用content属性,不能使用text属性