csdn — read & publish on CSDN via your own cookies
Drives the user's real CSDN account through the same web APIs the site's own
editor uses, authenticated by the login cookie they captured with the ACE
extension. No browser, no third-party deps — urllib + hmac (the editor's
save endpoint requires an HMAC signature, computed with stdlib).
The connector injects the cookie jar as an env var:
CSDN_COOKIES— a JSON array of cookies. Secret — never echo or print it.
The CLI reads it for you.
CSDN fronts its APIs with a WAF; the CLI already sends a full browser
fingerprint so reads aren't 403'd. An upstream WAF 403 can mean the cookie
expired or CSDN requires a captcha. Check the error classification below.
Image downloads honor standard HTTP_PROXY / HTTPS_PROXY and NO_PROXY.
A configured proxy must enforce public destinations when resolving hostnames;
without one, the script performs its existing local DNS checks.