修改并写了新的知乎剪藏模版obsidian web clipper

{
  "schemaVersion": "0.1.0",
  "name": "知乎回答 (2)",
  "behavior": "create",
  "noteContentFormat": "{{selectorHtml:.QuestionAnswer-content .RichText|markdown}}",
  "properties": [
    {
      "name": "source",
      "value": "{{url}}",
      "type": "text"
    },
    {
      "name": "author",
      "value": "{{selector:.UserLink-link|slice:1,2}}",
      "type": "multitext"
    },
    {
      "name": "publicTime",
      "value": "{{selector:.QuestionAnswer-content .ContentItem-time span}}",
      "type": "text"
    },
    {
      "name": "agreeCount",
      "value": "{{selector:.RichContent-actions .VoteButton--up}}",
      "type": "text"
    }
  ],
  "triggers": [
    "https://www.zhihu.com/question/*/answer"
  ],
  "noteNameFormat": "{{title|replace:\" - 知乎\":\"\"|replace:\"/\\(\\d+\\s*封私信\\)/g\":\"\"}}",
  "path": "Clippings"
}
  • 上面配置的导入方式:
    新用户只能上传一幅图,自己找吧(

  • 效果展示图,原文章地址

2 个赞

话说评论和图片有办法获取吗