We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
比如这个收藏夹: 每一项的 guid & link 应该是文章的url,但是文章的 guid & link 都是 #。(回答是正常的)
#
然后我看了一下收藏夹页面的源码。
<h2 class="zm-item-title"><a target="_blank" class="post-link" href="https://zhuanlan.zhihu.com/p/46036804" data-za-element-name="Title">选择公理的初步理解</a></h2>
我觉得只要选取 值为 zm-item-title 的元素,然后提取title和link就可以了。
zm-item-title
又看了一下rsshub zhihu collection 获取链接的代码,find('a.meta-item')得到的是发布/编辑于的链接,而文章没有这个,只有回答有,所以无法获取文章的链接。
find('a.meta-item')
发布/编辑于
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
比如这个收藏夹:
每一项的 guid & link 应该是文章的url,但是文章的 guid & link 都是
#
。(回答是正常的)然后我看了一下收藏夹页面的源码。
我觉得只要选取 值为
zm-item-title
的元素,然后提取title和link就可以了。又看了一下rsshub zhihu collection 获取链接的代码,
find('a.meta-item')
得到的是发布/编辑于
的链接,而文章没有这个,只有回答有,所以无法获取文章的链接。The text was updated successfully, but these errors were encountered: