import urllib.request
import ssl
context = ssl._create_unverified_context()
# url = 'https://baike.baidu.com/item/vivo'
url ="https://baike.baidu.com/item/vivo"
request = urllib.request.Request(url)
response = urllib.request.urlopen(url=request,context=context)
print (response.read().decode('utf-8'))
如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!
txttool.com 说一段 esp56物联 查询128 IP查询