export_special
Generate question and answer PDFs from a special with formatted layout. Optionally include analysis and star ratings. Increments usage count per item.
Instructions
把专项导出成题目卷 / 答案卷双 PDF(苏俊宇卷版式,HTML→无头 Chrome→PDF)。
导出即对专项内每道 item used_count+1(认证计数=拿去上课的信号,不可逆软计数)。 🔴 卷面纪律:★ 仅 with_stars=True 显示(默认隐藏);【解析】仅 with_analysis=True 附带; 卷面绝不出现内部词(层/素材/薄弱)。
参数: special_id: 专项 id(字符串)。 papers: ['question','answer'] 任子集,缺省两卷都出。 with_analysis: 答案卷是否含解析(默认 True)。 with_stars: 是否显示难度星标(默认 False=隐藏)。 返回: {ok, special_id, question_url?, answer_url?, marked_count};空专项(无题) → {ok:false, reason}。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| papers | No | ||
| special_id | Yes | ||
| with_stars | No | ||
| with_analysis | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||