We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b43d6b7 commit f2cf864Copy full SHA for f2cf864
media_platform/zhihu/help.py
@@ -130,7 +130,7 @@ def _extract_article_content(self, article: Dict) -> ZhihuContent:
130
res.content_id = article.get("id")
131
res.content_type = article.get("type")
132
res.content_text = extract_text_from_html(article.get("content"))
133
- 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}"
134
res.title = extract_text_from_html(article.get("title"))
135
res.desc = extract_text_from_html(article.get("excerpt"))
136
res.created_time = article.get("created_time", 0) or article.get("created", 0)
0 commit comments