Loading...
Loading...
Compare original and translation side by side
urllibpython-substackSUBSTACK_COOKIESsubstack.sidsubstack.lliurllibpython-substackSUBSTACK_COOKIESsubstack.sidsubstack.lliscripts/substack.pySUB=$SKILL_DIR/scripts/substack.py
python3 $SUB whoami # who is logged in + primary publication
python3 $SUB articles --limit 20 # my published posts + statsscripts/substack.pySUB=$SKILL_DIR/scripts/substack.py
python3 $SUB whoami # 查看登录用户信息 + 主出版物
python3 $SUB articles --limit 20 # 查看我的已发布帖子 + 统计数据python3 $SUB whoamipython3 $SUB whoami
On an auth error the cookie is expired — have the user reconnect at
<https://auth.acedata.cloud/user/connections>. Do **not** loop-retry.
如果出现身份验证错误,说明Cookie已过期——请用户前往<https://auth.acedata.cloud/user/connections>重新连接。**不要循环重试**。--confirm--confirmpublish#######```>-*1.---code[links](url)https://…--confirm--confirmundefinedpublish#######```>-*1.---代码[链接](url)https://…--confirm--confirmundefined
- `--draft-only` stops at a draft — **default to this** unless the user asked to
go live. Returns an `edit_url` to review in the Substack editor.
- Publishing **does NOT email subscribers** unless `--send-email` is passed.
Emailing a newsletter is irreversible and hits every subscriber's inbox —
never add `--send-email` without an explicit request.
- `--subtitle` sets the post subtitle; `--audience` is one of
`everyone` (default, free/public), `only_paid`, `founding`, `only_free`.
- `--draft-only`会停留在草稿阶段——**默认使用此选项**,除非用户要求发布至公开网页。返回`edit_url`可在Substack编辑器中查看草稿。
- 发布操作**不会向订阅者发送邮件**,除非传入`--send-email`参数。发送通讯是不可逆的操作,会发送到所有订阅者的收件箱——未经用户明确请求,绝不要添加`--send-email`参数。
- `--subtitle`用于设置帖子副标题;`--audience`可选值为`everyone`(默认,免费/公开)、`only_paid`、`founding`、`only_free`。--draft-only--send-emailSUBSTACK_COOKIES--draft-only--send-emailSUBSTACK_COOKIESpublish_artifactpublish_artifact(kind="article", channel="substack", title="<title>", url="<the REAL returned URL>", status="delivered")status="failed"_shared/artifacts.mdpublish_artifactpublish_artifact(kind="article", channel="substack", title="<title>", url="<the REAL returned URL>", status="delivered")status="failed"_shared/artifacts.md