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
fokia
V2EX  ›  Python

QQ 空间留言的 Python 小脚本

  •  
  •   fokia · 2018-02-28 00:25:14 +08:00 · 3938 次点击
    这是一个创建于 2221 天前的主题,其中的信息可能已经有所发展或是发生改变。

    没什么大用,扔到 VPS 上,定时执行也是不错的,有兴趣了也可以改一个年度进度条

    https://gist.github.com/jiefangjun/a680b8d9c932911247d91730323500ce

    注释很清晰了

    有兴趣可以查看详细过程

    6 条回复    2018-02-28 19:52:56 +08:00
    vfiles
        1
    vfiles  
       2018-02-28 01:08:19 +08:00 via Android   ❤️ 1
    我以为没人用 QQ 空间了
    webjin1
        2
    webjin1  
       2018-02-28 08:19:05 +08:00 via Android
    解放军?
    fillimon
        3
    fillimon  
       2018-02-28 09:52:51 +08:00
    留言脚本现在也就刷广告的用的多啊
    frecury
        4
    frecury  
       2018-02-28 10:22:31 +08:00 via Android
    doctor who !
    jeffson
        5
    jeffson  
       2018-02-28 17:26:44 +08:00
    不行啊 报错!!! NameError: name 'cookies' is not defined
    fokia
        6
    fokia  
    OP
       2018-02-28 19:52:56 +08:00
    @jeffson 把 headless 选项去掉,本地调试下看看
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1173 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 23:04 · PVG 07:04 · LAX 16:04 · JFK 19:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.