import requests url = 'http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4' resp = requests.get(url) with open('C:\\Users\\del\\Desktop\\新建文件夹\\3.mp4','wb') as f: f.write(resp.content)