Skip to content

feat(weixin): add Sogou article search#1250

Open
c-w-xiaohei wants to merge 1 commit intojackwener:mainfrom
c-w-xiaohei:feat/weixin-sogou-search
Open

feat(weixin): add Sogou article search#1250
c-w-xiaohei wants to merge 1 commit intojackwener:mainfrom
c-w-xiaohei:feat/weixin-sogou-search

Conversation

@c-w-xiaohei
Copy link
Copy Markdown

Summary

  • Add weixin search to search WeChat Official Account articles via Sogou Weixin.
  • Return rank, page, title, Sogou result URL, summary, and Sogou-rendered publish time.
  • Document the command and note that article body Markdown extraction should use weixin download with the corresponding WeChat article URL.

Verification

  • npm run build
  • npx tsc --noEmit
  • ./node_modules/.bin/vitest run --project adapter clis/weixin/search.test.js clis/weixin/drafts.test.js
  • node dist/src/main.js validate
  • node dist/src/main.js weixin search "AI" --page 1 --limit 3 -f json
  • opencli weixin search "AI" --page 1 --limit 2 -f json after installing the adapter locally under ~/.opencli/clis/weixin/search.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant