|
发表于 2024-4-15 15:07:40
|
显示全部楼层
黑龙江省双鸭山市
.版本 2
.子程序 功能_精易_网页_访问, 文本型, ,
.局部变量 局_网址, 文本型
.局部变量 局_提交cookie, 文本型
.局部变量 协议头, 类_POST数据类
.局部变量 局_结果, 字节集
.局部变量 局_返回, 文本型
局_网址="https://www.baidu.com/s?ie=utf-8&mod=11&isbd=1&isid=3EA049058B142108&ie=utf-8&f=8&rsv_bp=1&rsv_idx=1&tn=21002492_7_hao_pg&wd=123&fenlei=256&rsv_pq=0x90a6960f00460aaa&rsv_t=1937ZKT%2FLq%2Fz7DwUPDie2KK3hN1aGLJaZNWcbjolGDckq8%2BFfOzMkN23kTuz&rqlang=en&rsv_dl=ib&rsv_enter=1&rsv_sug3=3&rsv_sug1=1&rsv_sug7=001&rsv_sid=40305_40369_40376_40416_40470_40480_60040_60026_60034_60046_40511&_ss=1&clist=&hsug=&csor=3&pstg=5&_cr1=30509"
局_提交cookie="BIDUPSID=3EA04955EBED70DDBAA3245C9AD1E786; PSTM=1711459115; BAIDUID=3EA04955EBED70DD5C7896C59C7058B1:FG=1; BD_UPN=12314753; BAIDUID_BFESS=3EA04955EBED70DD5C7896C59C7058B1:FG=1; ZFY=3BqUjGvbP:ASyDV:B:BEnBrM:BaG6mLuPjwtCbTuE:AGOzeU:C; COOKIE_SESSION=330_1_5_5_8_11_0_1_5_1_0_2_331_0_3_0_1713071037_1713021782_1713071034%7C7%230_1_1713021780%7C1; B64_BOT=1; BDRCVFR[JQ6lJaA9_wR]=7ez7OBp_vw0mhu3pgwEUhT8mvqV; H_PS_PSSID=40305_40369_40376_40416_40470_40480_60040_60026_60034_60046_40511; BA_HECTOR=a08l802l2g80ala0240k0la5qgsen81j1pkn41s; BDORZ=B490B5EBF6F3CD402E515D22BCDA1598"
协议头.添加 ("Accept","*/*")
'协议头.添加 ("Accept-Encoding","gzip, deflate, br, zstd")
协议头.添加 ("Accept-Language","zh-CN,zh;q=0.9")
协议头.添加 ("Connection","keep-alive")
协议头.添加 ("Host","www.baidu.com")
协议头.添加 ("Ps-Dataurlconfigqid","0x90a6960f00460aaa")
协议头.添加 ("Referer","https://www.baidu.com/?tn=21002492_7_hao_pg")
协议头.添加 ("Sec-Fetch-Dest","empty")
协议头.添加 ("Sec-Fetch-Mode","cors")
协议头.添加 ("Sec-Fetch-Site","same-origin")
协议头.添加 ("User-Agent","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36")
协议头.添加 ("X-Requested-With","XMLHttpRequest")
协议头.添加 ("is_referer","https://www.baidu.com/?tn=21002492_7_hao_pg")
协议头.添加 ("is_xhr","1")
协议头.添加 ("sec-ch-ua",子文本替换 ("'Google Chrome';v='123', 'Not:A-Brand';v='8', 'Chromium';v='123'", "'", #引号, , , 真))
协议头.添加 ("sec-ch-ua-mobile","?0")
协议头.添加 ("sec-ch-ua-platform",子文本替换 ("'Windows'", "'", #引号, , , 真))
局_结果 = 网页_访问 (局_网址, 0, , 局_提交cookie, , 协议头.获取协议头数据())
局_返回 = 编码_Utf8到Ansi(局_结果)
返回(局_返回)
|
评分
-
参与人数 1 | 荣誉 +1 |
收起
理由
|
笨潴
| + 1 |
热心帮助他人,荣誉+1,希望继续努力(*^__^*) 嘻嘻! |
查看全部评分
|