V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
18870715400
V2EX  ›  Python

关于 selenium 被验证问题

  •  
  •   18870715400 · 2020-09-02 13:06:38 +08:00 · 1773 次点击
    这是一个创建于 1324 天前的主题,其中的信息可能已经有所发展或是发生改变。
    # 网址: https://wisdom.it.chinamobile.com:9002/cmmo_web/#/login
    # 我使用 selenium 发现打开不了该网站, 但是手动可以正常打开该网站, 应该是做了对应的反爬处理, 我这边应该如何应对呢
    
    5 条回复    2020-09-02 22:30:35 +08:00
    kop1989
        1
    kop1989  
       2020-09-02 13:11:52 +08:00 via iPhone
    简单点的会去检测 webdriver,搜索一下如何隐藏 webdriver 特征吧
    gollwang
        2
    gollwang  
       2020-09-02 14:19:36 +08:00
    Pyppeteer 试试
    lipten
        3
    lipten  
       2020-09-02 15:23:17 +08:00
    试试 chrome 使用--headless 模式
    yuananf
        4
    yuananf  
       2020-09-02 15:28:46 +08:00
    亲测 puppeteer 可以打开这个网站
    kangsheng9527
        5
    kangsheng9527  
       2020-09-02 22:30:35 +08:00
    几年前就有修改 webdriver 源码实现免于被识别的问题。。。还有自己再加一层 proxy 自己去掉相应多余特征内容即可!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5504 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 06:42 · PVG 14:42 · LAX 23:42 · JFK 02:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.