def testRequest(url='https://www.baidu.com/'):
#     response = requests.get(url)
#     print('respons status code: %d'%(response.status_code))
#     print('response encoding: ',response.encoding)
#     print('response headers: ',response.headers)
#     print(f'text:{response.text[:1000]}')