简单的天气预报
Find a file
2024-02-20 11:28:29 +08:00
.gitignore Publish 2024-02-20 11:28:29 +08:00
main.py Publish 2024-02-20 11:28:29 +08:00
README.md Publish 2024-02-20 11:28:29 +08:00
requirements.txt Publish 2024-02-20 11:28:29 +08:00
utils.py Publish 2024-02-20 11:28:29 +08:00
weather.py Publish 2024-02-20 11:28:29 +08:00
weather_bot.session Publish 2024-02-20 11:28:29 +08:00

简单的天气预报

爬取爷爷那的天气信息,然后手动发短信给他。

由于每天有用到telegram这里直接结合一下机器人用定时任务(每天早上八点)发送消息给本人

tg相关配置信息 config.json

{
    "api_id": xxxxx,
    "api_hash": "xxxxx",
    "bot_token": "xxxxx"
}