import requests
import shutil
def getFilesHTTPSWithAuth(link, path):
response = requests.get(link, stream=True)
if response.status_code == 200:
with open(path, 'wb') as f:
response.raw.decode_content = True
shutil.copyfileobj(response.raw, f)
url="https://s5230.getvideo.org/download/?title=%D0%9F%D0%BE+%D1%84%D0%B0%D1%80%D0%BC%D1%83+%D1%87%D0%B5%D0%BC%D0%BF%D0%B8%D0%BE%D0%BD&url=https%3A%2F%2Fvkvd117.mycdn.me%2F%3Fexpires%3D1650644940230%26srcIp%3D195.201.85.230%26pr%3D40%26srcAg%3DCHROME%26ms%3D185.226.53.161%26type%3D5%26sig%3DuJc4ZKebhSQ%26ct%3D0%26urls%3D45.136.22.204%26clientType%3D13%26appId%3D512000384397%26id%3D2485471611598"
getFilesHTTPSWithAuth(url, r"D:/some.mp4")
print("ready")
так сработало response = requests.get(link,
stream=True)