# Redemble 加强版爬虫 5：带 Cookie 登录态爬取
swqa-put netx

# 设置 Cookie
netx-header-set "Cookie" "session=abc123; user=redemble"

# 带登录态请求
netx-get "http://localhost:8080/"
print "登录态状态:" netx-status

# POST 登录
netx-post "http://localhost:8080/login" "user=admin&pass=123456"
print "登录状态:" netx-status

# 保存 Cookie 以便后续使用
netx-cookie-save "cookies.txt"
print "Cookie 已保存"
