可以使用Python库中的"requests"来抓取通过云服务器上转发的HTTPS数据包。请求网页时,只需使用requests.get()或requests.post()方法,并在URL前加上"https://"即可。 例如:
import requests
response = requests.get("https://www.example.com")
print(response.content)
注意:在抓取HTTPS数据包时,需要确保在你的云服务器上已经安装了OpenSSL。