爱意满满的作品展示区。
way2exluren

写了个简单的脚本,发送 V2EX 的 top10 到邮箱……

  •  1
     
  •   way2exluren · Nov 21, 2014 · 3847 views
    This topic created in 4371 days ago, the information mentioned may be changed or developed.
    在服务器里计划任务里添加这个,定时工作。我是每天下午6点推送到手机邮箱里。
    下班车上看看。
    有同样需求的就不用再写了
    https://github.com/zhangtf/v2ex-top10/blob/master/email_v2ex_top10.py
    Supplement 1  ·  Nov 21, 2014
    脚本里的URL换成

    https://www.v2ex.com/api/topics/latest.json

    相当于首页的“全部”这个 tab 下的最新内容。
    同样有用
    2 replies  •  2014-11-21 22:29:56 +08:00
    Neveroldmilk
    Neveroldmilk
    Nov 21, 2014
    1
    不错支持LZ。
    way2exluren
    way2exluren
    OP
    Nov 21, 2014
    2
    谢谢……几十行,想到有人也会想用,就发上来了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   952 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:04 · PVG 04:04 · LAX 12:04 · JFK 15:04
    ♥ Do have faith in what you're doing.