From 3849304a0839519d57c8f861ec6056d66c785dc9 Mon Sep 17 00:00:00 2001 From: wd210010 <76995206+wd210010@users.noreply.github.com> Date: Wed, 15 May 2024 10:45:46 +0800 Subject: [PATCH] Update Weibo.py --- Weibo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Weibo.py b/Weibo.py index eeee2c2..f0ecd13 100644 --- a/Weibo.py +++ b/Weibo.py @@ -8,6 +8,8 @@ import time from urllib.parse import urlparse, parse_qs from notify import send + +#首先,打开 APP,使用抓包工具抓包微博超话界面 取https://api.weibo.cn/2/cardlist这个域名的整个链接 填入变量 变量名weibo_my_cookie。 # 定义常量 API_URL = "https://api.weibo.cn/2/cardlist" SIGN_URL = "https://api.weibo.cn/2/page/button"