howie6879 / liuli

一站式构建多源、干净、个性化的阅读环境(Build a multi-source, clean and personalized reading environment in one stop.)
https://liuli.io
Apache License 2.0
885 stars 108 forks source link

请教一下:RSS 输出链接为本地链接,而且content 为空 #78

Open bowencool opened 1 year ago

bowencool commented 1 year ago

image

我照着步骤配置的,不知道哪一步漏掉了,github pages 也都配好了

bowencool commented 1 year ago

config 没有文档,看不太懂

{
  "name": "wechat",
  "username": "liuli",
  "author": "liuli_team",
  "doc_source": "liuli_wechat_sg",
  "doc_source_alias_name": "微信源(搜狗)",
  "collector": {
    "wechat": {
      "wechat_list": ["老胡的储物柜", "是不是很酷"],
      "delta_time": 5,
      "spider_type": "sg_ruia",
      "spider_type_des": "当镜像是schedule:playwright_*时,spider_type可填写sg_playwright"
    }
  },
  "processor": {
    "before_collect": [],
    "after_collect": [
      {
        "func": "ad_marker",
        "cos_value": 0.6
      },
      {
        "func": "to_rss",
        "doc_source_list": ["liuli_wechat"],
        "link_source": "github"
      }
    ]
  },
  "sender": {
    "sender_list": ["wecom"],
    "query_days": 7,
    "delta_time": 3,
    "custom_filter": {
      "wecom": {
        "delta_time": 1,
        "ignore_doc_source_name": [""]
      }
    }
  },
  "backup": {
    "backup_list": ["github", "mongodb"],
    "query_days": 7,
    "delta_time": 3,
    "init_config": {},
    "after_get_content": [
      {
        "func": "str_replace",
        "before_str": "data-src=\"",
        "after_str": "src=\"https://images.weserv.nl/?url="
      }
    ]
  },
  "schedule": {
    "period_list": ["00:10", "12:10", "21:10"]
  }
}