i_login_with_cookie
Authenticates to iconfont.cn in headless or CI environments by pasting a raw Cookie header from a logged-in browser session, including the required ctoken, so subsequent icon operations can run as your account.
Instructions
Log in to iconfont.cn by pasting a raw Cookie header copied from a logged-in browser session (e.g. browser DevTools > Network > Request Headers > cookie). This is the MOST reliable method and works in headless/CI environments. The cookie string must include the "ctoken" entry (or pass ctoken separately).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookie | Yes | Raw Cookie header, e.g. "ctoken=abc123; ECS=xxx; cna=yyy; ...". Copy it from a logged-in browser. | |
| ctoken | No | Optional ctoken value. If omitted, it is read from the "ctoken" entry in the cookie string. |