import requests

url = "https://dln1.ncdn.ec/books-files/_collection/chinese/235c4536b05655946c90a6c8a8162c6e40e66edd099a32e9ff78ac53670f8efe/redirection?filename=%E8%AE%B8%E5%BB%BA%E5%B9%B3%E8%A7%A3%E8%AF%B4%E9%87%91%E7%93%B6%E6%A2%85%20%28%E8%AE%B8%E5%BB%BA%E5%B9%B3%E8%91%97%2C%20Xu%20Jianping%20zhu%2C%20Jianping%20Xu%2C%20%E8%AE%B8%E5%BB%BA%E5%B9%B3%2C%201958-%20etc.%29%20%28Z-Library%29.pdf&s=davinci&md5=v_T4LyrTS7Sj7g5fUgC3TA&expires=1769341948"

print("开始下载...")
response = requests.get(url)
with open("许建平解说金瓶梅.pdf", "wb") as f:
    f.write(response.content)
print("下载完成！")
