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

求教 python 可以模拟浏览器行为执行js的库

  •  
  •   Bviews · May 24, 2013 · 13947 views
    This topic created in 4739 days ago, the information mentioned may be changed or developed.
    之前好像见哪位同学发过,可以模拟浏览器的行为的。

    比如表单submit以后要执行什么js也能一起执行的。

    Google了一下,很多同学推荐mechanize 但是这个库好像是不能自动去执行js的?
    6 replies    1970-01-01 08:00:00 +08:00
    best1a
        1
    best1a  
       May 24, 2013   ❤️ 1
    Bviews
        2
    Bviews  
    OP
       May 24, 2013
    @best1a 我去看看~thx。
    ioven
        3
    ioven  
       May 25, 2013
    JavaScript Headless
    这个性能不错,就是太折腾:http://obmem.info/?p=848
    reusFork
        4
    reusFork  
       May 25, 2013
    用py调用webkit就行
    SErHo
        5
    SErHo  
       May 25, 2013   ❤️ 1
    janxin
        6
    janxin  
       May 25, 2013   ❤️ 1
    只是要实现一些JS执行挺多的,比如pyv8 pyspidermonkey
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2992 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 05:09 · PVG 13:09 · LAX 22:09 · JFK 01:09
    ♥ Do have faith in what you're doing.