ShellMonster / ShellMonster.github.io

ShellMonster.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用Python监控微博用户发文,并进行钉钉推送 | GeekASO

ShellMonster opened this issue · comments

https://www.geekaso.com/ge-ren-xue-xi/shi-yong-python-jian-kong-wei-bo-yong-hu-fa-wen-bing-jin-xing-ding-ding-tui-song.html

使用Python监控微博用户发文,并进行钉钉推送
一、使用基础; ①需要有钉钉机器人,这里接入钉钉机器人就不说了,阿里有详细文档; ②抓包基础,能抓取监控对象参数,以及cookie; ③python环境,最好是服务器的;
二、代码逻辑

if today == today:
这行代码写错了,纠正下,是:
if created_at_time == today:

用于判断当日内是否有更新。