import requests
from lxml import etree
import json
import os
website ="http://www.zhouchuanji.net/wp/?p=1374"
agent = {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.92 Safari/537.36'}
responseData = requests.get(url = website,headers=agent)
responseData.encoding=('UTF-8')
print(type(responseData))
path =r"D:\zhouchuanji\1.html"
with open(path,'w',encoding='utf-8') as f:
f.write(responseData.text)
f.close()