From b7334a0d07d323c23bdc4978eb5cdeb7f5cbe327 Mon Sep 17 00:00:00 2001 From: HuangHai <10402852@qq.com> Date: Tue, 15 Jul 2025 11:51:20 +0800 Subject: [PATCH] 'commit' --- dsLightRag/WxGzh/T2_GetArticleList.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsLightRag/WxGzh/T2_GetArticleList.py b/dsLightRag/WxGzh/T2_GetArticleList.py index 187f3dbd..470abf3b 100644 --- a/dsLightRag/WxGzh/T2_GetArticleList.py +++ b/dsLightRag/WxGzh/T2_GetArticleList.py @@ -137,11 +137,11 @@ if __name__ == '__main__': response = requests.get(url=url, allow_redirects=False, cookies=cookies) if 'Location' in response.headers: redirect_url = response.headers.get("Location") - logger.info("重定向URL:", redirect_url) + logger.info(f"重定向URL:%s"%redirect_url) token_match = re.findall(r'token=(\d+)', redirect_url) if token_match: token = token_match[0] - logger.info("获取到的token:", token) + logger.info(f"获取到的token:%s"%token) article_urls = []