爬取爷爷那的天气信息,然后手动发短信给他。
由于每天有用到telegram,这里直接结合一下机器人,用定时任务(每天早上八点)发送消息给本人
tg相关配置信息 config.json
config.json
{ "api_id": xxxxx, "api_hash": "xxxxx", "bot_token": "xxxxx" }