{"id":37134879,"url":"https://github.com/deanthompson/zhihu-go","last_synced_at":"2026-01-14T15:44:07.094Z","repository":{"id":57484493,"uuid":"53946480","full_name":"DeanThompson/zhihu-go","owner":"DeanThompson","description":"知乎非官方 API 库 Go 实现版本，获取知乎内容信息，包括问题，答案，用户，收藏夹等信息","archived":true,"fork":false,"pushed_at":"2016-11-15T02:41:09.000Z","size":67,"stargazers_count":216,"open_issues_count":5,"forks_count":42,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-06-20T13:12:36.189Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DeanThompson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-15T13:24:24.000Z","updated_at":"2024-06-20T13:12:36.190Z","dependencies_parsed_at":"2022-08-26T14:24:11.466Z","dependency_job_id":null,"html_url":"https://github.com/DeanThompson/zhihu-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DeanThompson/zhihu-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeanThompson%2Fzhihu-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeanThompson%2Fzhihu-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeanThompson%2Fzhihu-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeanThompson%2Fzhihu-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeanThompson","download_url":"https://codeload.github.com/DeanThompson/zhihu-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeanThompson%2Fzhihu-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T15:24:48.085Z","status":"ssl_error","status_checked_at":"2026-01-14T15:23:41.940Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-14T15:44:06.514Z","updated_at":"2026-01-14T15:44:07.084Z","avatar_url":"https://github.com/DeanThompson.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"zhihu-go：知乎非官方 API 库 with Go\n=================================\n\n[![GoDoc](https://godoc.org/github.com/DeanThompson/zhihu-go?status.svg)](https://godoc.org/github.com/DeanThompson/zhihu-go)\n\n这是一个非官方的 [知乎](https://www.zhihu.com/) API 库，用 Go 实现。\n\n本项目基本上是把 [zhihu-python](https://github.com/egrcc/zhihu-python) 和 [zhihu-py3](https://github.com/7sDream/zhihu-py3) 从 Python 移植到了 Go. 相比之下，比 zhihu-python 的 API 更丰富，比 zhihu-py3 少了活动相关的 API.\n\n**注意：知乎的 API、前端等都可能随时会更新，所以本项目的接口可能会有过时的情况。如果遇到此类问题，欢迎提交 issue 或 pull requests.**\n\n## Table of Contents\n\n* [Table of Contents](#table-of-contents)\n* [Install](#install)\n* [Documentation](#documentation)\n* [Usage](#usage)\n  * [Login：登录](#login)\n  * [User：获取用户信息](#user)\n  * [Question：获取问题信息](#question)\n  * [Answer：获取答案信息](#answer)\n  * [Collection：获取收藏夹信息](#collection)\n  * [Topic：获取话题信息](#topic)\n* [Known Issues](#known-issues)\n* [TODO](#todo)\n* [LICENSE](#license)\n\n## Install\n\n直接使用 `go get`:\n\n```bash\ngo get github.com/DeanThompson/zhihu-go\n```\n\n依赖以下第三方库：\n\n* [goquery](https://github.com/PuerkitoBio/goquery)： 用于解析 HTML，语法操作类似 jQuery\n* [color](https://github.com/fatih/color)：用于输出带颜色的日志\n* [persistent-cookiejar](https://github.com/juju/persistent-cookiejar)：用于维护一个持久化的 cookiejar，实现保持登录\n\n## Documentation\n\n请点击链接前往 GoDoc 查看：[zhihu-go](https://godoc.org/github.com/DeanThompson/zhihu-go)\n\n## Usage\n\n目前已经实现了用户（User），问题（Question），回答（Answer），收藏夹（Collection），话题（Topic）相关的 API，都是信息获取类的，暂无操作类的。\n\nzhihu-go 包名为 `zhihu`，使用前需要先 import:\n\n```go\nimport \"github.com/DeanThompson/zhihu-go\"\n```\n\n### Login\n\n调用 API 之前需要先登录。在 zhihu-go 内部，使用一个全局的 session 来访问所有页面，并自动处理 cookies.\n\n创建一个 JSON 格式的配置文件，提供一个账号和密码，格式如 [config-example.json](examples/config-example.json).\n\n登录（初始化 session）：\n\n```go\nzhihu.Init(\"/path/to/config.json\")\n```\n\n第一次登录会调用图像界面打开验证码文件，需要手动输入验证码到控制台。如果登录成功，后续的请求会沿用此次登录的 cookie, 不需要重复登录。\n\n### User\n\n`zhihu.User` 表示一个知乎用户，可以用于获取一个用户的各种数据。\n\n创建一个 `User` 对象需要传入用户主页的 URL 及其知乎 ID（用户名），如：\n\n```go\nlink := \"https://www.zhihu.com/people/jixin\"\nuserID := \"黄继新\"\nuser := zhihu.NewUser(link, userID)\n```\n\n获取用户的数据（代码见：[example.go](examples/example.go#L159)）：\n\n```go\nfunc showUser(user *zhihu.User) {\n\tlogger.Info(\"User fields:\")\n\tlogger.Info(\"\tis anonymous: %v\", user.IsAnonymous())  // 是否匿名用户：false\n\tlogger.Info(\"\tuserId: %s\", user.GetUserID())          // 知乎ID：黄继新\n\tlogger.Info(\"\tdataId: %s\", user.GetDataID())          // hash ID：b6f80220378c8b0b78175dd6a0b9c680\n\tlogger.Info(\"\tbio: %s\", user.GetBio())                // BIO：和知乎在一起\n\tlogger.Info(\"\tlocation: %s\", user.GetLocation())      // 位置：北京\n\tlogger.Info(\"\tbusiness: %s\", user.GetBusiness())      // 行业：互联网\n\tlogger.Info(\"\tgender: %s\", user.GetGender())          // 性别：male\n\tlogger.Info(\"\teducation: %s\", user.GetEducation())    // 学校：北京第二外国语学院\n\tlogger.Info(\"\tfollowers num: %d\", user.GetFollowersNum()) // 粉丝数：756632\n\tlogger.Info(\"\tfollowees num: %d\", user.GetFolloweesNum()) // 关注的人数： 9249\n\tlogger.Info(\"\tfollowed columns num: %d\", user.GetFollowedColumnsNum()) // 关注的专栏数：631\n\tlogger.Info(\"\tfollowed topics num: %d\", user.GetFollowedTopicsNum())   // 关注的话题数：131\n\tlogger.Info(\"\tagree num: %d\", user.GetAgreeNum())     // 获得的赞同数：68557\n\tlogger.Info(\"\tthanks num: %d\", user.GetThanksNum())   // 获得的感谢数：17651\n\tlogger.Info(\"\tasks num: %d\", user.GetAsksNum())       // 提问数：1336\n\tlogger.Info(\"\tanswers num: %d\", user.GetAnswersNum()) // 回答数：785\n\tlogger.Info(\"\tposts num: %d\", user.GetPostsNum())     // 专栏文章数：92\n\tlogger.Info(\"\tcollections num: %d\", user.GetCollectionsNum()) // 收藏夹数量：44\n\tlogger.Info(\"\tlogs num: %d\", user.GetLogsNum())   // 公共编辑数：51596\n\t\n\t// \u003cTopic: 知乎指南 - https://www.zhihu.com/topic/19550235\u003e\n\t// \u003cTopic: 苹果公司 (Apple Inc.) - https://www.zhihu.com/topic/19551762\u003e\n\t// \u003cTopic: 创新工场 - https://www.zhihu.com/topic/19624098\u003e\n\t// \u003cTopic: iPhone - https://www.zhihu.com/topic/19550292\u003e\n\t// \u003cTopic: 风险投资（VC） - https://www.zhihu.com/topic/19550422\u003e\n\tfor i, topic := range user.GetFollowedTopicsN(5) {\n\t\tlogger.Info(\"\ttop followed topic-%d: %s\", i+1, topic.String())\n\t}\n\n\t// \u003cUser: Zz XI - https://www.zhihu.com/people/zz-xi-18\u003e\n\t// \u003cUser: xyn - https://www.zhihu.com/people/xyn-31\u003e\n\t// \u003cUser: 江湖人称丸子头 - https://www.zhihu.com/people/jiang-hu-ren-cheng-wan-zi-tou\u003e\n\t// \u003cUser: 小萍果Y - https://www.zhihu.com/people/xiao-ping-guo-y\u003e\n\t// \u003cUser: 最爱麦丽素 - https://www.zhihu.com/people/Mylikes-82\u003e\n\tfor i, follower := range user.GetFollowersN(5) {\n\t\tlogger.Info(\"\ttop follower-%d: %s\", i+1, follower.String())\n\t}\n\n\t// \u003cUser: 最爱麦丽素 - https://www.zhihu.com/people/Mylikes-82\u003e\n\t// \u003cUser: meidong - https://www.zhihu.com/people/zhalimuto\u003e\n\t// \u003cUser: 青锐吴斌 - https://www.zhihu.com/people/wu-bin-817\u003e\n\t// \u003cUser: Klaith - https://www.zhihu.com/people/Klaith\u003e\n\t// \u003cUser: 张野 - https://www.zhihu.com/people/zhang-ye-91-9\u003e\n\tfor i, followee := range user.GetFolloweesN(5) {\n\t\tlogger.Info(\"\ttop followee-%d: %s\", i+1, followee.String())\n\t}\n\n\t// \u003cQuestion: 偏好投票制（Preferential Voting）的优点和缺点是什么？最适用于哪类场合？ - https://www.zhihu.com/question/40939579\u003e\n\t// \u003cQuestion: 关于飞机上对使用手机的限制，为什么国内航班比国外航班严？ - https://www.zhihu.com/question/34302422\u003e\n\t// \u003cQuestion: 银联人民币卡可以在美国支持银联的 ATM 机上直接取美元吗？ - https://www.zhihu.com/question/33874729\u003e\n\t// \u003cQuestion: 小猫掉进了 5 米深的天井，如何能尽快救出？救助时应注意什么？ - https://www.zhihu.com/question/33307041\u003e\n\t// \u003cQuestion: 一件商品打一折（90% off）销售，这属于「超高折扣」还是「超低折扣」？ - https://www.zhihu.com/question/31332557\u003e\n\tfor i, ask := range user.GetAsksN(5) {\n\t\tlogger.Info(\"\ttop ask-%d: %s\", i+1, ask.String())\n\t}\n\n\t// \u003cAnswer: \u003cUser: 黄继新 - https://www.zhihu.com/people/jixin\u003e - https://www.zhihu.com/question/40394171/answer/86692178\u003e\n\t// \u003cAnswer: \u003cUser: 黄继新 - https://www.zhihu.com/people/jixin\u003e - https://www.zhihu.com/question/19952708/answer/84561308\u003e\n\t// \u003cAnswer: \u003cUser: 黄继新 - https://www.zhihu.com/people/jixin\u003e - https://www.zhihu.com/question/35987345/answer/72981016\u003e\n\t// \u003cAnswer: \u003cUser: 黄继新 - https://www.zhihu.com/people/jixin\u003e - https://www.zhihu.com/question/24980451/answer/29789141\u003e\n\t// \u003cAnswer: \u003cUser: 黄继新 - https://www.zhihu.com/people/jixin\u003e - https://www.zhihu.com/question/24816698/answer/29229733\u003e\n\tfor i, answer := range user.GetAnswersN(5) {\n\t\tlogger.Info(\"\ttop answer-%d: %s\", i+1, answer.String())\n\t}\n\n\t// \u003cCollection: 单子 - https://www.zhihu.com/collection/36510307\u003e\n\t// \u003cCollection: 稍后回答 - https://www.zhihu.com/collection/19665350\u003e\n\t// \u003cCollection: 广告！ - https://www.zhihu.com/collection/19688005\u003e\n\t// \u003cCollection: 关于知乎的思考 - https://www.zhihu.com/collection/19573315\u003e\n\t// \u003cCollection: MD，说得太好了！ - https://www.zhihu.com/collection/19886553\u003e\n\tfor i, collection := range user.GetCollectionsN(5) {\n\t\tlogger.Info(\"\ttop collection-%d: %s\", i+1, collection.String())\n\t}\n\n\tfor i, like := range user.GetLikes() {\n\t\tlogger.Info(\"\tlike-%d: %s\", i+1, like.String())\n\t}\n}\n```\n\n### Question\n\n`zhihu.Question` 表示一个知乎问题，用于获取问题相关的数据。初始化需要提供 url 和标题（可为空）:\n\n```go\nlink := \"https://www.zhihu.com/question/28966220\"\ntitle := \"Python 编程，应该养成哪些好的习惯？\"\nquestion := zhihu.NewQuestion(link, title)\n```\n\n获取问题数据：（代码见：[example.go](examples/example.go#L51)）\n\n```go\nfunc showQuestion(question *zhihu.Question) {\n\tlogger.Info(\"Question fields:\")\n\t\n\t// 链接：https://www.zhihu.com/question/28966220\n\tlogger.Info(\"\turl: %s\", question.Link)\n\t\n\t// 标题：Python 编程，应该养成哪些好的习惯？\n\tlogger.Info(\"\ttitle: %s\", question.GetTitle())\n\t\n\t// 描述：我以为编程习惯很重要的，一开始就养成这些习惯，不仅可以提高编程速度，还可以减少 bug 出现的概率。希望各位分享好的编程习惯。\n\tlogger.Info(\"\tdetail: %s\", question.GetDetail())\n\t\n\t\n\tlogger.Info(\"\tanswers num: %d\", question.GetAnswersNum()) // 回答数：15\n\tlogger.Info(\"\tfollowers num: %d\", question.GetFollowersNum()) // 关注者数量：1473\n\n\t// \u003cTopic: 程序员 - https://www.zhihu.com/topic/19552330\u003e\n\t// \u003cTopic: Python - https://www.zhihu.com/topic/19552832\u003e\n\t// \u003cTopic: 编程 - https://www.zhihu.com/topic/19554298\u003e\n\t// \u003cTopic: Python 入门 - https://www.zhihu.com/topic/19661050\u003e\n\tfor i, topic := range question.GetTopics() {\n\t\tlogger.Info(\"\ttopic-%d: %s\", i+1, topic.String())\n\t}\n\n\t// \u003cUser: 铁头爸爸 - https://www.zhihu.com/people/li-liang-68-9\u003e\n\t// \u003cUser: 阳阳 - https://www.zhihu.com/people/yang-yang-3-29-52\u003e\n\t// \u003cUser: 田小芳 - https://www.zhihu.com/people/tian-xiao-fang-55\u003e\n\t// \u003cUser: 濕濕 - https://www.zhihu.com/people/shi-shi-29-7-18\u003e\n\t// \u003cUser: 陈翔宇 - https://www.zhihu.com/people/chen-xiang-yu-91-74\u003e\n\tfor i, follower := range question.GetFollowersN(5) {\n\t\tlogger.Info(\"\ttop follower-%d: %s\", i+1, follower.String())\n\t}\n\n\tfor i, follower := range question.GetFollowers() {  // 关注者列表\n\t\tlogger.Info(\"\tfollower-%d: %s\", i+1, follower.String())\n\t\tif i \u003e= 10 {\n\t\t\tlogger.Info(\"\t%d followers not shown.\", question.GetFollowersNum()-i-1)\n\t\t\tbreak\n\t\t}\n\t}\n\n\tallAnswers := question.GetAllAnswers()  // 所有回答\n\tfor i, answer := range allAnswers {\n\t\tlogger.Info(\"\tanswer-%d: %s\", i+1, answer.String())\n\t\tfilename := fmt.Sprintf(\"/tmp/%s-%s的回答.html\", question.GetTitle(), answer.GetAuthor().GetUserID())\n\t\tdumpAnswerHTML(filename, answer)\n\t\tif i \u003e= 10 {\n\t\t\tlogger.Info(\"\t%d answers not shown.\", len(allAnswers)-i-1)\n\t\t\tbreak\n\t\t}\n\t}\n\n\ttopXAnswers := question.GetTopXAnswers(25)  // 前 25 个回答\n\tfor i, answer := range topXAnswers {\n\t\tlogger.Info(\"\ttop-%d answer: %s\", i+1, answer.String())\n\t}\n\n\t// 排名第一的回答\n\t// \u003cAnswer: \u003cUser: 陈村 - https://www.zhihu.com/people/xjiangxjxjxjx\u003e - https://www.zhihu.com/question/28966220/answer/43346747\u003e\n\tlogger.Info(\"\ttop-1 answer: %s\", question.GetTopAnswer().String())\n\t\n\tlogger.Info(\"\tvisit times: %d\", question.GetVisitTimes()) // 查看次数：32942\n}\n```\n\n### Answer\n\n`zhihu.Answer` 表示一个知乎答案，初始化时需要指定页面链接，也支持指定对应的问题（`*Question`，可以为 `nil`）和作者（`*User`，可以为 `nil`）：\n\n```go\n// 龙有九个儿子，是跟谁生的？为什么「龙生九子，各不成龙」？豆子 的答案\nanswer := zhihu.NewAnswer(\"https://www.zhihu.com/question/23759686/answer/41997389\", nil, nil)\n```\n\n获取回答数据：（代码见：[example.go](examples/example.go#L95)）\n\n```go\nfunc showAnswer(answer *zhihu.Answer) {\n\tlogger.Info(\"Answer fields:\")\n\t\n\t// 链接：https://www.zhihu.com/question/23759686/answer/41997389\n\tlogger.Info(\"\turl: %s\", answer.Link)\n\n\t// 所属问题\n\t// 链接：https://www.zhihu.com/question/23759686\n\t// 标题：龙有九个儿子，是跟谁生的？为什么「龙生九子，各不成龙」？\n\tquestion := answer.GetQuestion()\n\tlogger.Info(\"\tquestion url: %s\", question.Link)\n\tlogger.Info(\"\tquestion title: %s\", question.GetTitle())\n\n\t// 作者：\u003cUser: 豆子 - https://www.zhihu.com/people/douzishushu\u003e\n\tlogger.Info(\"\tauthor: %s\", answer.GetAuthor().String())\n\t\n\tlogger.Info(\"\tupvote num: %d\", answer.GetUpvote())    // 赞同数：26486\n\tlogger.Info(\"\tcomments num: %d\", answer.GetCommentsNum()) // 评论数：20\n\tlogger.Info(\"\tcollected num: %d\", answer.GetCollectedNum())\t// 被收藏次数：22929\n\tlogger.Info(\"\tdata ID: %d\", answer.GetID())   // 数字 ID：12191779\n\n\t// 点赞的用户\n\tvoters := answer.GetVoters()\n\tfor i, voter := range voters {\n\t\tlogger.Info(\"\tvoter-%d: %s\", i+1, voter.String())\n\t\tif i \u003e= 10 {\n\t\t\tremain := len(voters) - i - 1\n\t\t\tlogger.Info(\"\t%d votes not shown.\", remain)\n\t\t\tbreak\n\t\t}\n\t}\n}\n```\n\n### Collection\n\n`zhihu.Collection` 表示一个收藏夹，初始化时必须指定页面 url，支持指定名称（`string` 可以为 `\"\"`）和创建者（`creator *User`，可以为 `nil`）：\n\n```go\n// 黄继新 A4U\ncollection := zhihu.NewCollection(\"https://www.zhihu.com/collection/19677733\", \"\", nil)\n```\n\n获取收藏夹数据：（代码见：[example.go](examples/example.go#L124)）\n\n```go\nfunc showCollection(collection *zhihu.Collection) {\n\tlogger.Info(\"Collection fields:\")\n\t\n\t// 链接：https://www.zhihu.com/collection/19677733\n\tlogger.Info(\"\turl: %s\", collection.Link)\n\t\n\t// 名称：A4U\n\tlogger.Info(\"\tname: %s\", collection.GetName())\n\t\n\t// 作者：\u003cUser: 黄继新 - https://www.zhihu.com/people/jixin\u003e\n\tlogger.Info(\"\tcreator: %s\", collection.GetCreator().String())\n\tlogger.Info(\"\tfollowers num: %d\", collection.GetFollowersNum())   // 关注者数量：29\n\n\t// 获取 5 个关注者\n\tfor i, follower := range collection.GetFollowersN(5) {\n\t\tlogger.Info(\"\ttop follower-%d: %s\", i+1, follower.String())\n\t}\n\t\n\t// 获取 5 个问题\n\tfor i, question := range collection.GetQuestionsN(5) {\n\t\tlogger.Info(\"\ttop question-%d: %s\", i+1, question.String())\n\t}\n\n\t// 获取 5 个回答\n\tfor i, answer := range collection.GetAnswersN(5) {\n\t\tlogger.Info(\"\ttop answer-%d: %s\", i+1, answer.String())\n\t}\n}\n```\n\n### Topic\n\n`zhihu.Collection` 表示一个话题，初始化时必须指定页面 url，支持指定名称（`string` 可以为 `\"\"`）：\n\n```go\n// Python\ntopic := zhihu.NewTopic(\"https://www.zhihu.com/topic/19552832\", \"\")\n```\n\n获取收藏夹数据：（代码见：[example.go](examples/example.go#L237)）\n\n```go\nfunc showTopic(topic *zhihu.Topic) {\n\tlogger.Info(\"Topic fields:\")\n\t\n\t// 链接：https://www.zhihu.com/topic/19552832\n\tlogger.Info(\"\turl: %s\", topic.Link)\n\t\n\t// 名称：Python\n\tlogger.Info(\"\tname: %s\", topic.GetName())\n\t\n\t// 描述：Python 是一种面向对象的解释型计算机程序设计语言，在设计中注重代码的可读性，同时也是一种功能强大的通用型语言。\n\tlogger.Info(\"\tdescription: %s\", topic.GetDescription())\n\t\n\t// 关注者数量：82805\n\tlogger.Info(\"\tfollowers num: %d\", topic.GetFollowersNum())\n\n\t// 最佳答主，一般为 5 个\n\t// \u003cUser: RednaxelaFX - https://www.zhihu.com/people/rednaxelafx\u003e\n\t// \u003cUser: 松鼠奥利奥 - https://www.zhihu.com/people/tonyseek\u003e\n\t// \u003cUser: 涛吴 - https://www.zhihu.com/people/Metaphox\u003e\n\t// \u003cUser: 冯昱尧 - https://www.zhihu.com/people/feng-yu-yao\u003e\n\t// \u003cUser: Coldwings - https://www.zhihu.com/people/coldwings\u003e\n\tfor i, author := range topic.GetTopAuthors() {\n\t\tlogger.Info(\"\ttop-%d author: %s\", i+1, author.String())\n\t}\n}\n```\n\n## Known Issues\n\n无，欢迎 [提交 issues](https://github.com/DeanThompson/zhihu-go/issues)\n\n## TODO\n\n按优先级降序排列：\n\n* [X] 获取回答的收藏数\n* [X] 获取收藏夹的答案数量\n* [X] 获取用户的头像\n* [X] 获取用户的微博地址\n* [ ] 把答案导出到 markdown 文件\n* [ ] 更多的登录方式，不需要依赖图形界面打开验证码文件\n* [ ] 增加评论相关的 API\n* [ ] 增加活动相关的 API\n* [ ] 增加专栏相关的 API\n* [ ] test（暂时没想好怎么做）\n\n很可能不会做：\n\n* [ ] 增加用户的操作，如点赞、关注等\n\n欢迎 [提交 pull requests](https://github.com/DeanThompson/zhihu-go/pulls)\n\n## LICENSE\n\n[The MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeanthompson%2Fzhihu-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeanthompson%2Fzhihu-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeanthompson%2Fzhihu-go/lists"}