feat(publish): handle qiehao real-name auth via shared publisher errors
- Detect qiehao's real-name auth blocking response (code/message) in the desktop adapter, surface a Chinese-friendly summary, and propagate the detail through the failure result. - Extract a shared publisher-errors module so the renderer can normalize these messages for the publish task table without duplicating regex. - Pre-process article HTML for qiehao before upload via a new packages/publisher-platforms/src/qiehao.ts entry point. - Update the manual self-test notes for jianshu and qiehao with the latest results. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
export * from "./baijiahao";
|
||||
export * from "./jianshu";
|
||||
export * from "./qiehao";
|
||||
export * from "./toutiao";
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
import { renderTablesAsParagraphRows } from "./baijiahao";
|
||||
|
||||
export function prepareQiehaoArticleHtml(html: string): string {
|
||||
return renderTablesAsParagraphRows(html).trim();
|
||||
}
|
||||
Reference in New Issue
Block a user