gpt4 book ai didi

python - 使用 Selenium 从网站提取 SSL 证书详细信息 - Chrome 驱动程序

转载 作者:行者123 更新时间:2023-12-04 22:39:26 25 4
gpt4 key购买 nike

有没有可能,使用 SeleniumChrome driver , 访问当前网站上使用的 SSL 证书信息?
例如,给定 URL https://google.com ,我想提取以下内容:
enter image description here

最佳答案

Selenium 不提供用于提取证书的 API。您可以使用标准 python 库提取您需要的内容:

  • https://stackoverflow.com/a/41172133/8343843
  • https://stackoverflow.com/a/30863209/8343843
  • 关于python - 使用 Selenium 从网站提取 SSL 证书详细信息 - Chrome 驱动程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62800152/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com