推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
sjmcefc2
V2EX  ›  Python

求教, selenium 来访问网站并截屏跳出 ssl 问题。

  •  
  •   sjmcefc2 · Jul 8, 2018 · 7835 views
    This topic created in 2869 days ago, the information mentioned may be changed or developed.

    [10828:3556:0708/001502.875:ERROR:ssl_client_socket_impl.cc(1026)] handshake failed; returned -1, SSL error code 1, net_error -100 [10828:3556:0708/001504.276:ERROR:ssl_client_socket_impl.cc(1026)] handshake failed; returned -1, SSL error code 1, net_error -100 [10828:3556:0708/001510.780:ERROR:ssl_client_socket_impl.cc(1026)] handshake failed; returned -1, SSL error code 1, net_error -100

    这样的错误如何解决?
    试了下添加 driver 的参数,貌似还是不行。
    另外貌似 selenium 找 element 的速度很慢,如何提高呢?
    
    3 replies    2018-07-16 01:00:13 +08:00
    sjmcefc2
        1
    sjmcefc2  
    OP
       Jul 8, 2018
    再求一个 firefox 用 selenium 浏览器的环境配置教程,总是觉得配置的有问题。网络上各式各样的都有,也没见 selenium 出一个版本对应的关系。有点摸不着边。
    302766392
        2
    302766392  
       Jul 8, 2018
    楼主你知道这些产生的日志怎么屏蔽吗
    sjmcefc2
        3
    sjmcefc2  
    OP
       Jul 16, 2018
    @302766392 参考了网上的参数,但是还是不能够屏蔽掉。而且以前没有发生过这个问题。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1522 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 16:48 · PVG 00:48 · LAX 09:48 · JFK 12:48
    ♥ Do have faith in what you're doing.