推荐学习书目
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

迫于 v2EX+的通知不太兼容 mi5,新的 V2er 不支持通知,写了个 py 小脚本手动解析了一下通知配合 cron 麻麻再也不怕我回复 v2er 太晚了

  •  
  •   supersu ·
    supersu097 · Sep 17, 2017 · 2451 views
    This topic created in 3246 days ago, the information mentioned may be changed or developed.

    很感谢 v2EX+的作者与我在邮件中互动,可能是比较忙,再加上安卓的碎片化,不兼容很正常,本来以为要编译 lxml 才能解析 v2 的 atom feed,没想到 html5lib 就行,毕竟渣渣 256 的 vps 能简单还是简单点~

    Repo is Here.

    12 replies    2017-09-19 23:40:15 +08:00
    Chichele
        1
    Chichele  
       Sep 17, 2017 via Android
    用 ifttt 的话可以用 rss 订阅回复通知。
    supersu
        2
    supersu  
    OP
       Sep 17, 2017 via Android
    @tigerstudent 是个好办法,可是 v2 的通知 feed 不是 rss 协议,之前找了个安卓软件,支持 atom 协议但是最小时间间隔是半小时,关键是 app 一到后台就不能通知了,各种自启动和权限都给过了还不行~
    tSQghkfhTtQt9mtd
        3
    tSQghkfhTtQt9mtd  
       Sep 18, 2017 via Android
    @supersu The RSS Feed service lets you turn on and make Applets for RSS and ***Atom*** web feeds. When the content you care about goes live, stay up-to-date with notifications, emails, and more.
    supersu
        4
    supersu  
    OP
       Sep 18, 2017
    @liwanglin12 Thank u for telling me that, later I'll try using it, but I got a little weird issue that the notification dashboard doesn't notify me about ur last reply, is it because the system has banned me~
    supersu
        5
    supersu  
    OP
       Sep 18, 2017
    @liwanglin12 I've created an applet, wait to see the news to me~
    tSQghkfhTtQt9mtd
        6
    tSQghkfhTtQt9mtd  
       Sep 18, 2017 via Android
    @supersu 🤔我只是把 IFTTT 上关于 RSS 的描述复制过来了,我不是英文用户啊(
    askfermi
        7
    askfermi  
       Sep 19, 2017
    考不考虑接入一下微信服务号,就可以在微信里通知了。 [手动滑稽]

    https://www.v2ex.com/t/391152#reply5
    supersu
        8
    supersu  
    OP
       Sep 19, 2017
    @liwanglin12 哦哦(●ˇ∀ˇ●)
    supersu
        9
    supersu  
    OP
       Sep 19, 2017
    @askfermi 是你建的这个助理君么~
    askfermi
        10
    askfermi  
       Sep 19, 2017
    @supersu 嗯嗯
    supersu
        11
    supersu  
    OP
       Sep 19, 2017 via Android
    @askfermi 这会正在改代码,不打算解析内容了,只保留通知也可以么
    askfermi
        12
    askfermi  
       Sep 19, 2017
    @supersu 可以是可以 不过有点麻烦 我想想
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2758 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 11:23 · PVG 19:23 · LAX 04:23 · JFK 07:23
    ♥ Do have faith in what you're doing.