anemology / plurk-notification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plurk Notification

檢查噗浪使用者是否有新噗

Telegram

  • @botfather 建立新 bot 並取得 token
  • 設定 webhook, 執行 webhook.sh

AWS

Lambda

  • Runtime: Python 3.8 or higher
  • Layer: 包含 requirements.txt 內的 package
  • function URLs: 啟用並設定 AuthTypeNone

CloudWatch Event

每 10 分鐘執行一次

  • EventBridge Schedule expression: cron(0/10 * * * ? *)

TOOD

  • 自動抓取 uid
  • 抓取新回覆
  • 整理相關 function 跟 plurkdl 整合在一起

Reference

Schedule Expressions for Rules - Amazon CloudWatch Events

About


Languages

Language:Python 98.1%Language:Shell 1.9%