Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

知乎 RSS wanted #17

Closed
7 tasks done
lwl12 opened this issue Apr 15, 2018 · 4 comments
Closed
7 tasks done

知乎 RSS wanted #17

lwl12 opened this issue Apr 15, 2018 · 4 comments
Labels
RSS proposal New RSS wanted

Comments

@lwl12
Copy link
Contributor

lwl12 commented Apr 15, 2018

  • 用户动态
  • 用户回答
  • 用户提问
  • 用户文章
  • 用户想法
  • 专栏
  • 收藏夹
@DIYgod DIYgod added the RSS proposal New RSS wanted label Apr 15, 2018
@DIYgod DIYgod added this to To do in RSS Todo List Apr 16, 2018
@DIYgod DIYgod changed the title 知乎用户动态、回答、提问、文章 知乎 RSS wanted Apr 16, 2018
@DIYgod DIYgod moved this from To do to In progress in RSS Todo List Apr 17, 2018
@KellyHwong
Copy link
Contributor

原理是什么呢?不都是对知乎通知进行监控吗?为啥中间三个没做,Mark一下神大大的代码。

@DIYgod
Copy link
Owner

DIYgod commented May 13, 2018

@KellyHwong 中间三个用处不大,优先级低

@DIYgod DIYgod closed this as completed May 29, 2018
RSS Todo List automation moved this from In progress to Done May 29, 2018
@ShimotsukiH
Copy link

请问关注问题动态更新可以有么?
例如通过rss关注此页→ https://www.zhihu.com/question/50343728/answer/152862940

@DIYgod DIYgod reopened this Jun 15, 2018
RSS Todo List automation moved this from Done to In progress Jun 15, 2018
@Andiedie
Copy link
Contributor

Andiedie commented Sep 1, 2018

希望可以增加热门回答(匿名打开手机版知乎、小程序知乎热榜、APP热榜)的内容
可以通过以下链接直接获得:

来自Web匿名首页:
GET https://www.zhihu.com/api/v3/explore/guest/feeds?limit=15
来自小程序API:
GET https://www.zhihu.com/api/v3/feed/topstory/hot-list-wx?limit=50
来自APP API:
GET https://api.zhihu.com/topstory/hot-list?limit=10&reverse_order=0

三个来源内容一致,单看路径后面两个比较稳,
不过通过这三个API获得的只有标题和摘要,想要全文RSS必须遍历链接了

内容示例:
image

DIYgod pushed a commit that referenced this issue Sep 1, 2018
Mentioned at #17 (comment)

最后实际采用了上述issue中提到的第一个API
即 https://www.zhihu.com/api/v3/explore/guest/feeds?limit=15

虽然从路径上看,后两个更加语义化,但是只有第一个提供了全文
DIYgod pushed a commit that referenced this issue Nov 6, 2018
@DIYgod DIYgod closed this as completed Nov 10, 2018
RSS Todo List automation moved this from In progress to Done Nov 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RSS proposal New RSS wanted
Projects
No open projects
RSS Todo List
  
Done
Development

No branches or pull requests

5 participants