import requests
#未校验 存在返回非200等无效数据

proxiesx = {
    "http": "http://127.0.0.1:8080",
    "https": "http://127.0.0.1:8080",
}



burp0_url = "https://eu-v.cdn10.com:443/35411038.mp4?verify=1746619723-NhYTYRAer8bFT9FA6PN9CPUZzc%2BqtQOaTGJVem64pA8%3D"
burp0_headers = {"Connection": "close", "Pragma": "no-cache", "Cache-Control": "no-cache", "sec-ch-ua": "\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\"", "DNT": "1", "Accept-Encoding": "gzip, deflate", "sec-ch-ua-mobile": "?0", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36", "sec-ch-ua-platform": "\"Windows\"", "Accept": "*/*", "Sec-Fetch-Site": "same-origin", "Sec-Fetch-Mode": "no-cors", "Sec-Fetch-Dest": "video", "Referer": "https://eu-v.cdn10.com/35411038.mp4?verify=1746619723-NhYTYRAer8bFT9FA6PN9CPUZzc%2BqtQOaTGJVem64pA8%3D", "Accept-Language": "zh-CN,zh;q=0.9,ja;q=0.8,ru;q=0.7", "Range": "bytes=0-33"}

burp0_headers["Range"] = "bytes=0-145588014"

r = requests.get(burp0_url, headers=burp0_headers, proxies=proxiesx, verify=False)    

print('开始写入')

name = 'Pakistani Fantastic MILF Salwar High Feet Flashing.mp4'
print(name)

name = 'out/'+name
try:
    with open(name) as f:
        print('文件存在 请重新输入名字:')
        name = input()
        name += '.mp4'
except IOError:pass

with open(name, 'wb') as f:
    f.write(r.content)