变量名 | 类 型 | 静态 | 数组 | 备 注 |
Url | 文本型 | | |
Data | 文本型 | | |
add_Header | 类_POST数据类 | | |
Header | 文本型 | | |
Cookie | 文本型 | | |
Return | 文本型 | | |
Url = "https://edith.xiaohongshu.com/api/sns/web/v1/login/qrcode/create"
Data = "
{"+
#引号 +"qr_type"+
#引号 +":1
}"
add_Header.
添加 ("authority","edith.xiaohongshu.com")
add_Header.
添加 ("accept","application/json, text/plain, */*")
add_Header.
添加 ("accept-language","zh-CN,zh;q=0.9")
add_Header.
添加 ("cache-control","no-cache")
add_Header.
添加 ("content-type","application/json;charset=UTF-8")
add_Header.
添加 ("origin","https://www.xiaohongshu.com")
add_Header.
添加 ("pragma","no-cache")
add_Header.
添加 ("referer","https://www.xiaohongshu.com/")
add_Header.
添加 ("sec-ch-ua",""+
#引号 +"Chromium"+
#引号 +";v="+
#引号 +"5"+
#引号 +", "+
#引号 +"Not/A
)Brand"+
#引号 +";v="+
#引号 +"24"+
#引号) add_Header.
添加 ("sec-ch-ua-mobile","?0")
add_Header.
添加 ("sec-ch-ua-platform",""+
#引号 +"Windows"+
#引号) add_Header.
添加 ("sec-fetch-dest","empty")
add_Header.
添加 ("sec-fetch-mode","cors")
add_Header.
添加 ("sec-fetch-site","same-site")
add_Header.
添加 ("user-agent","Mozilla/5.
0 (Windows NT 10.0; Win64; x64
) AppleWebKit/537.
36 (KHTML, like Gecko
) Chrome/118.0.0.0 Safari/537.36")
add_Header.
添加 ("x-b3-traceid","2fdff346f03b37b4")
add_Header.
添加 ("x-s","XYW_eyJzaWduU3ZuIjoiNTEiLCJzaWduVHlwZSI6IngxIiwiYXBwSWQiOiJ4aHMtcGMtd2ViIiwic2lnblZlcnNpb24iOiIxIiwicGF5bG9hZCI6IjRlNjQyZGEyMmEyYmE5NTlmN2E2MzFmZjdiMzljMGM0MGNkYTFhMWEwNWEzZWMzMzg1MDMzMjNiMDkyNDk2Yjk5YmIxODBhYTIwNTQwYjE1Nzg5ODgwNGU1NTM4M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f89phpd4janYt8nz1/7+h2SiRHjIj2eDjw0HUw/HI+0D7wsIj2erIH0ilPA4R")
add_Header.
添加 ("x-t","1712391522573")
Header = add_Header.
获取协议头数据 ()
Cookie = "abRequestId=db6c28e4-e45a-5f2b-b646-669ca8aae9ad; webBuild=4.9.0; a1=18eb27015db7tiymttwtu0amsh0c20g3tqivkhptl50000394927; webId=111106d4ca612c1b4024ebe83dad2b1b; gid=yYdDJW8ydj92yYdDJW8y2AxUfDW93v699E97391806Mx8h28SJ8kqT888qj4jJW8qdJYjq2Y; acw_tc=56da983746b8fdb04f4061860d951357be7ead2e68678fff774079a1d9e5d3fa; web_session=030037a1225660392436584469214ade2f3427; websectiga=634d3ad75ffb42a2ade2c5e1705a73c845837578aeb31ba0e442d75c648da36a; sec_poison_id=9f5c7215-23ca-4a2b-aeeb-0dd157bee1b9; xsecappid=xhs-pc-web"
Return=
到文本 (网页_访问_对象 (Url, 1, Data, Cookie, , Header, , , 真,,,,,,,,,
))
Return= 编码_URL解码(Return ,
真)