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

用 py 写了小脚本获取 V2EX 的今日热议主题,配合 Cron@hourly+QQ 邮箱重要联系人提醒效果还不错

  •  
  •   supersu ·
    supersu097 · 2017-09-05 00:17:08 +08:00 · 2503 次点击
    这是一个创建于 2419 天前的主题,其中的信息可能已经有所发展或是发生改变。
    9 条回复    2017-09-05 20:48:17 +08:00
    iCodex
        1
    iCodex  
       2017-09-05 01:42:36 +08:00
    注意休息啊,还在更新。。。
    ysicing
        2
    ysicing  
       2017-09-05 02:03:03 +08:00
    顶下。
    supersu
        3
    supersu  
    OP
       2017-09-05 03:18:52 +08:00 via Android
    @iCodex 嗯嗯这就去睡觉,下午有点困碎了一会晚上不怎么困了
    albertofwb
        4
    albertofwb  
       2017-09-05 07:48:20 +08:00 via Android
    不错。yinwang 大佬常常删掉自己的文章,你那里有他的历史版本吗?
    supersu
        5
    supersu  
    OP
       2017-09-05 15:01:57 +08:00
    @albertofwb http://yinwang0.lofter.com/view 这里有个 16 年包括之前的备份,现在的脚本加上新博客截图自动 push 到 github 的功能了,以后可以在仓库里面看到了,就是 cron 有点抽风,一会正常一会不正常,@hourly ok,自己指定时间就不正常了
    supersu
        6
    supersu  
    OP
       2017-09-05 15:56:07 +08:00
    @ysicing (+1s 逃~
    supersu
        7
    supersu  
    OP
       2017-09-05 16:01:33 +08:00
    @albertofwb 按照这里 https://askubuntu.com/questions/54364/how-do-you-set-the-timezone-for-crontab 的解答重新设置了时区,重启了一下 Cron 和机器,syslog 里面的时间戳正常了
    supersu
        8
    supersu  
    OP
       2017-09-05 18:20:11 +08:00
    albertofwb
        9
    albertofwb  
       2017-09-05 20:48:17 +08:00
    同道中人,握爪
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2587 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 01:28 · PVG 09:28 · LAX 18:28 · JFK 21:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.