python使用requests下载数据

        # 下载和保存图像
        import requests
        video_url = '*****'
        response = requests.get(url=video_url)  # 下载视频到本地1.mp4
        video_bytes = response.content
        temp_video_path = '1.mp4'
        with open(temp_video_path, 'wb') as f:
            f.write(video_bytes)