推荐学习书目
› 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
SimbaPeng
V2EX  ›  Python

使用 selenium webdriver 点击按钮然后下载文件,如何监听文件下载完毕?

  •  
  •   SimbaPeng · Mar 7, 2018 · 8275 views
    This topic created in 3168 days ago, the information mentioned may be changed or developed.
    4 replies  •  2018-03-07 17:43:30 +08:00
    lnightk
    lnightk
    Mar 7, 2018 via Android
    1
    selenium 只能监听 html,除非下载成功后网页有变化
    meisky6666
    meisky6666
    Mar 7, 2018
    2
    python 检测目录?
    h4lbhg1G
    h4lbhg1G
    Mar 7, 2018
    3
    谷歌一下有人说的方法是周期性检测下载目录下面<filename>.part 文件是否存在
    kkone
    kkone
    Mar 7, 2018
    4
    不用监听啊,下载是浏览器的事情,你接着做下一步操作就行了,即使下载失败,那也是网络慢,和自动化程序无关的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   493 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 21:09 · PVG 05:09 · LAX 13:09 · JFK 16:09
    ♥ Do have faith in what you're doing.