From f2cf864c27be5a9cd725f986bb2afeba171bcc35 Mon Sep 17 00:00:00 2001 From: Relakkes Date: Mon, 3 Mar 2025 18:18:41 +0800 Subject: [PATCH] fix: zhihu article url error #564 --- media_platform/zhihu/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media_platform/zhihu/help.py b/media_platform/zhihu/help.py index 418333c..b1454b2 100644 --- a/media_platform/zhihu/help.py +++ b/media_platform/zhihu/help.py @@ -130,7 +130,7 @@ class ZhihuExtractor: res.content_id = article.get("id") res.content_type = article.get("type") res.content_text = extract_text_from_html(article.get("content")) - res.content_url = f"{zhihu_constant.ZHIHU_URL}/p/{res.content_id}" + res.content_url = f"{zhihu_constant.ZHIHU_ZHUANLAN_URL}/p/{res.content_id}" res.title = extract_text_from_html(article.get("title")) res.desc = extract_text_from_html(article.get("excerpt")) res.created_time = article.get("created_time", 0) or article.get("created", 0)