如何编写一个程序来帮助我在 URL 中使用 https 访问数据

How to write a program which would help me to access to data with https in URL

最近我一直在使用 python 访问以 http 为协议的网页,但我无法控制以 host.Please 为协议的 https 网页有人帮助学习正确的程序来解决这个错误。

稍微简单一些,您必须使用模块请求访问 url,但您必须在 requests.get 行的设置中指定不安全,使用参数 verify=False

使用以下内容:

r = requests.get('https://m.facebook.com/josue.carranza.56884761', verify=False)